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
7 months ago
167,603 views
0 shares
java-memes, encapsulation-memes, object-oriented-memes, getters-memes, setters-memes | ProgrammerHumor.io
More Like This
When You Ask A Programmer To Apologize
15 days ago
156.5K views
0 shares
Worlds best programmer
1 year ago
112.9K views
0 shares
Old but gold
2 years ago
70.0K views
0 shares
Hmm...He got a point
4 years ago
61.4K views
0 shares
JavaScript 10 years challenge
4 years ago
102.2K views
0 shares
So Amazing!
3 years ago
106.4K views
0 shares
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++
Csharp