Menu
Every terminal needs a talking cow.
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Azure
Backend
Bash
C++
Cloud
All Categories
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
Spacing Memes
Posts tagged with Spacing
Fixing This Took Too Long
Debugging
Java
Javascript
Programming
Python
1 year ago
427.5K views
0 shares
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
Handover
Programming
172.4M views
2 days ago
found one you lot might enjoy
Linux
106.7K views
3 years ago
Programmer Barbie
Javascript
276.9K views
5 years ago