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
8 months ago
179,112 views
0 shares
java-memes, encapsulation-memes, object-oriented-memes, getters-memes, setters-memes | ProgrammerHumor.io
More Like This
Stop Using 'i' In For Loops
5 months ago
242.8K views
0 shares
The Floor Is Java
6 months ago
198.1K views
0 shares
Frontpage fortune cookie contains infinite loop
1 year ago
99.3K views
0 shares
I have to learn C++, I'm getting two conflicting opinions
1 year ago
90.6K views
0 shares
Drive
1 year ago
117.1K views
0 shares
Laptops (affiliate)
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++
Csharp