Re:Better Java – Resources for Writing Modern Java
by lmm on Sunday September 20, 2015 @02:12AM
(#10246717)
The problem comes when you spot a Bean class and then it isn't. 99.9% of "getX" methods simply read the field. But if you assume that every "getX" method just reads the field, you'll be caught out by the rare one that doesn't - I've seen a production bug happen this way.
[ Parent
| on HN ]
There are no comments on this comment yet.