DEV Community

Discussion on: I love to document my code. Am I doing it wrong?

Collapse
 
ferricoxide profile image
Thomas H Jones II

Much like blogging, I comment code for my own benefit: it's rare that I never have to go back and tweak code I've written. If it's been more than a few weeks since I touched my own code, I often won't really recognize what I did without those reminder-anchors.

Collapse
 
clovis1122 profile image
José Clovis Ramírez de la Rosa

Yup! In some of the projects where I worked a long time alone, I always thanks myself everytime that I need to make a change and I've completely no idea what to do with the code or I even forgot some basic things from the programming language. Then there's a comment there explaining me what and why :').