Logo
HTTP 429: Too Many Requests (Take a hint).
  • 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

Pre-decrement Memes

Posts tagged with Pre-decrement

Pre Decrement Fixes The Exploit

Security Java Programming Debugging Csharp
2 months ago 203.6M views 0 shares
Pre Decrement Fixes The Exploit
When you're dealing with a critical security vulnerability and someone suggests using pre-decrement (--i) instead of post-decrement (i--) as the "fix," you're basically asking a genie to reduce your problem count to zero... and getting exactly what you asked for. The joke here is that the programmer wants to make their problem count "0" (meaning no problems), but the genie interprets this literally and just sets their wish count to 0 instead. It's like changing i-- to --i in your code and calling it a security patch when you've fundamentally changed nothing about the actual vulnerability. You've just shifted when the decrement happens—before or after the expression evaluation—but the exploit is still there, laughing at your PR. Classic "technically correct but completely useless" energy that every code reviewer has seen at 3 AM.

Today's picks

Handover

Handover

Programming
172.4M views 2 days ago
The FAANG Salary Delusion

The FAANG Salary Delusion

Programming
330.0K views 1 year ago
This sub

This sub

Programming
87.5K views 5 years ago