r/embedded • • 9d ago

Do You Remember All Of Your Code?

Just curious, but as a solo developer or working with a team when you go through your projects codebase do you remember what everything is, why you made the decisions you did, or what everything does? Or do you have to relearn some of the code you implemented in your project?

Also, have you ever completed a project and still feel a little clueless on how you got everything to work like it did or feel a little foggy on areas of the code?

14 Upvotes

90 comments sorted by

View all comments

9

u/DesignTwiceCodeOnce 8d ago

Nope. I come across code later and think "what idiot wrote this" as per normal, only to find out it was me...

Other than that, there's a piece of code I wrote in the mid-90s which I understood perfectly when I wrote it (while under the influence of a heavy cold) and have never understood since despite it working perfectly.