Re:Why getter and setter methods are evil
by yegor256a on Wednesday October 08, 2014 @11:50AM
(#8427535)
The convention of getWeight() is bad because it assumes an existence of setWeight(). And get/set methods turn an object into a holder of data.
[ Parent
| on HN ]
There are no comments on this comment yet.