Tag Archives: best practice

Usability Implications of Requiring Parameters in Objects’ Constructors

Interesting finding from a research article by Jeffrey Stylos and Steven Clarke 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 selfdocumenting APIs by guiding programmers toward the correct [...]