Logo
The first computer bug was an actual bug.
  • 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

Decrement Memes

Posts tagged with Decrement

French Programmers Be Like:

Python Programming
2 months ago 257.8K views 0 shares
French Programmers Be Like:
Someone really looked at the word "faux" (fake) and said "yeah, let me name my function that increments by 1 as 'fake X' because I'm FANCY like that." Meanwhile, the function literally does the OPPOSITE of being fake—it's doing exactly what it says on the tin! The chaotic energy of naming your decrement function "bar" while your increment function gets a whole French identity crisis is just *chef's kiss*. Like, commit to the bit or don't, but this half-French, half-whatever naming convention is sending me straight to variable name hell. This is what happens when you learn Python while watching Emily in Paris. Très dramatique! 💅

Fixing This Took Too Long

Debugging Javascript Programming C++ Java
11 months ago 352.0K views 0 shares
Fixing This Took Too Long
The difference between x -= 1 and x =- 1 is just one space, but the consequences are catastrophic. One decrements a variable, the other assigns negative one and destroys whatever value you were working with. Hours of debugging later, you're staring at your screen wondering why your algorithm produces garbage when the fix was just moving a single character. Spaces matter. Just like your relationship status.

Today's picks

Only Option Remaining

Only Option Remaining

Programming
19.3M views 1 day ago
Breakpoint Or Logs: The Eternal Debugging Debate

Breakpoint Or Logs: The Eternal Debugging Debate

Debugging
314.0K views 7 months ago
Synology 2-Bay NAS DS223 (Diskless)

Synology 2-Bay NAS DS223 (Diskless)

Affiliate
$284.99