Jaaved Ali Khan

14%
Flag icon
If the method takes parameters, you will need a Constructor Parameter Method (p. 25). Give your method an Intention Revealing Selector (p. 49) that describes the roles of the parameters, not their type. A Constructor Method that is used extensively may deserve a Shortcut Constructor Method (p. 26).
Jaaved Ali Khan
info about the role of the parameter is more important than there type. Type info can infered from the context.
Smalltalk Best Practice Patterns
Rate this book
Clear rating
Open Preview