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
239,037 views
0 shares
java-memes, encapsulation-memes, object-oriented-memes, getters-memes, setters-memes | ProgrammerHumor.io
More Like This
When you don’t have 45 years of experience with JavaScript
3 years ago
189.6K views
0 shares
Case Sensitivity And Naming Conventions
10 months ago
357.7K views
0 shares
I was able to get a decent shot of the eclipse with my phone.
4 years ago
161.9K views
0 shares
JavaScript getting more use cases. Got this idea from previous post.
4 years ago
170.0K views
0 shares
java vs javascript
2 years ago
123.3K views
0 shares
Be Prepared Mates
10 months ago
456.2K views
0 shares
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++
Csharp