The Community for Technology Leaders
RSS Icon
Subscribe
Minneapolis, Minnesota
May 20, 2007 to May 26, 2007
ISBN: 0-7695-2828-7
pp: 529-539
Jeffrey Stylos , Carnegie Mellon University
Steven Clarke , Microsoft
ABSTRACT
The usability of APIs is increasingly important to programmer productivity. Based on experience with usability studies of specific APIs, techniques were explored for studying the usability of design choices common to many APIs. A comparative study was performed to assess how professional programmers use APIs with required parameters in objects? constructors as opposed to parameterless "default" constructors. It was hypothesized that required parameters would create more usable and self-documenting APIs by guiding programmers toward the correct use of objects and preventing errors. However, in the study, it was found that, contrary to expectations, programmers strongly preferred and were more effective with APIs that did not require constructor parameters. Participants? behavior was analyzed using the cognitive dimensions framework, and revealing that required constructor parameters interfere with common learning strategies, causing undesirable premature commitment.
INDEX TERMS
null
CITATION
Jeffrey Stylos, Steven Clarke, "Usability Implications of Requiring Parameters in Objects' Constructors", ICSE, 2007, Software Engineering, International Conference on, Software Engineering, International Conference on 2007, pp. 529-539, doi:10.1109/ICSE.2007.92
27 ms
(Ver 2.0)

Marketing Automation Platform Marketing Automation Tool