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.
Fixing This Took Too Long
4 months ago
175,933 views
0 shares

syntax-memes, debugging-memes, operators-memes, assignment-memes, decrement-memes | ProgrammerHumor.io
More Like This
You're a programmer, right?
1 year ago
18.4K views
0 shares

The Elephant AI Never Saw
5 months ago
208.5K views
1 shares

We Are The Wizards
4 months ago
111.2K views
0 shares

The Lifecycle Of A Developer
5 days ago
146.0K views
0 shares

Programmers Then Vs. Now: The Great Devolution
5 months ago
286.3K views
2 shares

There are only two hard problems in programming
3 years ago
67.6K views
0 shares

Loading more content...