Jaaved Ali Khan

17%
Flag icon
It is far easier to maintain a relationship based solely on messages. Rather than status returning a Symbol, it is better for Switch to provide a single method that returns a Boolean; true if the Switch is on and false if the Switch is off.
Jaaved Ali Khan
**: name of the message should describe what gets returned instead of the return value.
Smalltalk Best Practice Patterns
Rate this book
Clear rating
Open Preview