3 ms·
What makes me laugh is the commenter defending getters and setters as encapsulation. No, what getters and setters are is a huge verbose door cut through your e
by JulianMorrison 17y ago
What makes me laugh is the commenter defending getters and setters as encapsulation.
No, what getters and setters are is a huge verbose door cut through your encapsulation, turning a class into a mere vending machine.
- bkudria 17y agoAgreed. Probably his confusion stems from the fact that Java can expose properties directly. Eww.
- deleted 17y ago[deleted]