Logo
First we build software, then we pray.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • Csharp Csharp
  • All Categories

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

Access modifiers Memes

Posts tagged with Access modifiers

Private String Gender

Java Programming
2 months ago 106.3K views 0 shares
Private String Gender
When your object-oriented programming skills finally come in handy at a protest. Someone clearly paid attention in CS class instead of sleeping through encapsulation lectures. The sign brilliantly uses Java's access modifiers to make a statement - keeping gender as a private string variable that can't be modified by outside classes, rather than a public constant boolean that everyone gets to weigh in on. The compiler of this joke deserves a promotion.

Private In Theory, Public In Practice

Java Security Programming Debugging
4 months ago 131.8K views 0 shares
Private In Theory, Public In Practice
Java: "We use private keywords for encapsulation and data hiding." Developers: "Hold my reflection API." The left side shows the ultimate Java encapsulation heist - using reflection to forcibly access a private field. It's like telling someone their house is secure while showing them exactly how to pick the lock. Sure, Java tries to protect your data with private keywords, but reflection just walks in through the bathroom window with a smug grin. After 15 years of coding, I've seen this "elegant solution" in production more times than I care to admit. Security through obscurity at its finest!

Spotlight

GearScouts.com

Stop scrolling, start exploring! Find the gear that'll get you off the couch and into the wild. Compare power stations for off-grid adventures, flashlights for midnight hikes, and essentials that make the outdoors your playground. Get Outside →

BenQ RD280U 28.2” 4K 3840x2560 3:2 Programming ...

BenQ RD280U 28.2” 4K 3840x2560 3:2 Programming ...
Ad Each purchase brings us closer to affording that C++ course where they explain pointers once and for all. 👉