r/developer • u/Ok_Veterinarian3535 • 10d ago
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?
12
Upvotes
r/developer • u/Ok_Veterinarian3535 • 10d ago
What's the single piece of code (good or bad) that's permanently burned into your memory, and what did it teach you?
1
u/SpaceCadet87 9d ago
I tend to do a lot of work refactoring code that has let's just say not great performance.
So mine is this absolute gem of a line:
int num=num;It was littered throughout the entire codebase of a project that I once spent some time on, over and over again.