Menu
The first computer bug was an actual bug.
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
11 months ago
352.0K 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
Only Option Remaining
Programming
19.3M views
1 day ago
The Open Source Paradox
Linux
333.5K views
1 year ago
They hate us!
Programming
67.1K views
3 years ago