Logo
The first mouse was wooden. Like a real mouse house.
  • 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

Post-increment Memes

Posts tagged with Post-increment

When You Post Increment Too Early

Programming Java Javascript Debugging Csharp
11 months ago 456.9K views 0 shares
When You Post Increment Too Early
Someone updated that drowning counter with count++ instead of ++count and now zero people have drowned wearing lifejackets. Technically correct is the best kind of correct, right? The sign maker probably tested it once, saw it worked, shipped it to production, and went home early. Meanwhile, the lifejacket stat is sitting there at zero like "not my problem." Fun fact: The difference between i++ and ++i has caused more bugs than anyone wants to admit. Post-increment returns the value THEN increments it, while pre-increment does it the other way around. It's the programming equivalent of putting your shoes on before your socks—technically you did both things, just in the wrong order.

Today's picks

Where's The Love

Where's The Love

Programming
149.5M views 20 days ago
Best Software Developer Mug, World's Best Software Developer, 11-Ounce White

Best Software Developer Mug, World's Best Software Developer, 11-Ounce White

Affiliate
$15.99
That's a pro move

That's a pro move

Debugging
87.1K views 3 years ago