Usability Implications of Requiring Parameters in Objects' Constructors
Source: Carnegie Mellon University
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 paper, it was found that, contrary to expectations, programmers strongly preferred and were more effective with APIs that did not require constructor parameters.
| Format: | Size: | 408.10 | |
| Date: | Sep 2006 |



