r/ClaudeCoding • u/EntertainerOk4774 • 1h 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
Show parent comment
1
u/ChucksnTaylor 39m ago
Get your point for sure, but that’s kinda the beauty of AI, it never writes sloppy after thought comments. A jr dev may not fully understand what they’ve written or may not bother to be precise with the comment. Those issues don’t exist with AI.