3 ms·
Passing a single, immutable object as a parameter to a method, and replacing several native parameters, is a common "what-if" comment I make in code reviews. I
by matchagaucho 7y ago
Passing a single, immutable object as a parameter to a method, and replacing several native parameters, is a common "what-if" comment I make in code reviews.
It's not 100% the intention of Smalltalk messaging, but it's in the spirit of "objects as messages".