Re:Avoid getters and setters whenever possible
by spdionis on Thursday March 22, 2018 @07:44AM
(#16647718)
Getters/setters vs public properties has nothing to do with encapsulation. Obviously not all properties are public/have getters and setters.
[ Parent
| on HN ]