Re:Public and private class fields
by yen223 on Thursday December 13, 2018 @07:35PM
(#18677434)
Any one of the proposed alternatives is better than altering the contract of the behaviour of `area`, which is what you're doing if you hide it behind a getter.
[ Parent
| on HN ]
There are no comments on this comment yet.