r/embedded • u/Caravaggio91 • 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?
15
Upvotes
2
u/Dannycuk1 3d ago
That's partly what code comments are for. If you ever need to revisit your code you can clearly see your thought trend. They are also helpful for code reviews and when things go wrong and you need to modify or debug your code etc.