this post was submitted on 26 Nov 2023
710 points (89.3% liked)
Programmer Humor
19572 readers
1634 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
x += 1; // Increases x by one
// increase the dynamically allocated memory space of a word sized integer stored at the memory address represented by the symbol "x" by the integer 1 and terminate the instruction
Why the heck does it need to be dynamically allocated? Just put that puppy on the stack.
That's what it used to do.
But it was a bug, and the code has been fixed.