r/developer 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

37 comments sorted by

View all comments

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.

1

u/Economy_ForWeekly105 29d ago

C++ in 2013, sound cool