Logo
The cloud is just someone else's computer.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Azure Azure
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • All Categories
As an Amazon Associate ProgrammerHumor.io earns from qualifying purchases.

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

If true Memes

Posts tagged with If true

The Unreachable Code Jedi Mind Trick

Java Debugging Programming Testing
1 year ago 308.2K views 0 shares
The Unreachable Code Jedi Mind Trick
The oldest trick in the developer handbook: wrapping problematic code in an if (true) block with a return statement instead of properly commenting it out. Top panel: Java compiler screaming "unreachable statement" because those Star Wars lightsaber sound effects will never execute after the return . Bottom panel: The developer feeling smug after "fixing" the issue by wrapping the return in an if (true) block, tricking the compiler into thinking those ridiculous sound effects might actually run someday. Nine years of software engineering experience and we're still pulling stunts like this instead of using version control like adults.

Terrible Auth: The Digital Doorman Who Always Says Yes

Security C++ Programming Debugging Testing
1 year ago 463.6K views 0 shares
Terrible Auth: The Digital Doorman Who Always Says Yes
The first part of this authentication function is actually doing its job—checking if the password matches. But then comes the security masterpiece: if (true == true) . Congratulations, you've created the digital equivalent of a bouncer who checks your ID and then lets you in anyway because "yep, gravity still works!" This function will authenticate literally anyone who gets past the first check... or fails it and just keeps trying. Security experts hate this one weird trick!

Today's picks

Lenovo ThinkPad T14, Ultra 5 225U, 64GB DDR5, 1TB SSD+Docking Station | 14" Touchscreen, Business Laptop, Designed for Everyday Productivity and Programming, Backlit Keyboard & Fingerprint Reader

Lenovo ThinkPad T14, Ultra 5 225U, 64GB DDR5, 1TB SSD+Docking Station | 14" Touchscreen, Business Laptop, Designed for Everyday Productivity and Programming, Backlit Keyboard & Fingerprint Reader

Affiliate
$2089.99
Speed Of Light? More Like Speed Of Oversight

Speed Of Light? More Like Speed Of Oversight

Git
466.0K views 1 year ago
Jesus Loves Open Source

Jesus Loves Open Source

Programming
26.2M views 5 months ago