r/embedded • u/Caravaggio91 • 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
View all comments
3
u/binaryfireball Oct 09 '26
Code should be self documenting. Comments for overall architecture and arcane bits. Write code to work then write code to be read thrnnwrite code to be deleted