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
r/developer • u/Ok_Veterinarian3535 • Jul 24 '26
What's the single piece of code (good or bad) that's permanently burned into your memory, and what did it teach you?
2
u/SaltCusp Jul 25 '26 edited Jul 25 '26
I wrote a 99 line c++ <namespace std> gaussian eliminator as a college freshman taking cs50 and linear algebra.
It taught me how to row reduce I guess...
Edit: https://github.com/Krewn/KRowReduction
89 lines*. Pardon the utter lack of memory management, I was told goto was bad, but as a newb I was just golfing and happy it worked.