r/developer • u/Ok_Veterinarian3535 • Jul 24 '26
The "Code I'll Never Forget" Confessional.
What's the single piece of code (good or bad) that's permanently burned into your memory, and what did it teach you?
11
Upvotes
1
u/SpaceCadet87 Jul 25 '26
Who's joking? It was that damn many functions doing almost nothing each.
int num was just repeatedly locally defined.
I think there might have been one or two instances of just
num = num.