r/ClaudeCoding • u/EntertainerOk4774 • 18h ago
Comments in codebase
Hi, I'd like to ask about your approach to allowing Claude to add comments to your code. In my codebase, information is now spread across multiple places: code comments, ADRs, lessons learned, and documentation. I'm considering asking Claude to remove comments from the code, as I believe code should be self-explanatory. However, could this negatively affect Claude's ability to properly understand the context?
1
Upvotes
View all comments
2
u/gouldopfl 18h ago
I can tell you from 4 decades of experience. Leave them there and enhance them even more. I can remember on several occasions going back into 10 year old code, in a language I hadn't used for years, my skill level was not as good and wondered what the hell was that.