The top panel shows Pooh looking unimpressed with a public variable. The middle panel shows Fancy Pooh absolutely delighted with the exact same variable made private but wrapped in getter and setter methods. The bottom panel captures that moment when you join a project and see this pattern everywhere but can't figure out why anyone would add all this boilerplate just to access a simple variable. It's like putting on a tuxedo to walk to your mailbox.
Why Put A Tuxedo On Your Variables
1 year ago
292,774 views
0 shares
java-memes, encapsulation-memes, object-oriented-memes, getters-memes, setters-memes | ProgrammerHumor.io
More Like This
Found One In The Wild
1 year ago
285.8K views
0 shares
Java 6 Is My Passion
5 months ago
475.7K views
1 shares
McD's playing hardball... Do you think they'd at least offer free Big Macs?
3 years ago
47.3K views
0 shares
I was one google search away from learning entire language I don’t need. Dodged a bullet
4 years ago
168.2K views
0 shares
NordVPN
Sponsored
VPN
You had one job
3 years ago
163.4K views
1 shares
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++