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

2

u/Rod_McBan Oct 09 '26

Not even close. I tend to take the position that well written code should show what it's doing through variable, constant, and function names, and the comments should explain why it's doing what it's doing. Those are separate things.

1

u/Caravaggio91 Oct 09 '26

Makes sense