Post by :
Wayland, the open-source project for replacement of X11, has become a battleground for developers. The discussion has turned into a 1500-comment flame war about how integers should be incremented.
The community is split between two approaches:
- Increment by 1:
int x = 0;
x++; - Increment by 10:
int x = 0;
x += 10;
Each side argues passionately about which method is more efficient or correct. Some claim that incrementing by 1 is simpler, others argue that incrementing by 10 is better for performance.
Reply: You're both wrong! Incrementing by 1 is the correct way. It's simple and clear. Why would you ever want to increment by 10?