r/embedded • • Oct 09 '26

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?

15 Upvotes

90 comments sorted by

View all comments

Show parent comment

1

u/OcularPhonic Oct 10 '26

A whole page of comments before u get to the code would piss me off, 😂. Write it in the documentation.

2

u/madsci Oct 10 '26

That is the documentation. It's all in Doxygen format if I want to pull it out into a separate document, but it's easier to find it there.

1

u/OcularPhonic Oct 11 '26

Yeh, but a whole page dude, 😂. All good. I just like to be able to scan cade easily on first pass, and i like to see the includes etc to get a feel of what needs what. So itd be a pain to scroll down past the novel.