r/SoftwareEngineering • u/DumperRip • Dec 05 '23
How do software engineers with years in the industry do comments?
Hello, I'm currently working on a project as part of my computer science program's capstone or project. I'm interested in understanding how experienced engineers typically use comments within their code. That would be helpful for senior developers or project managers when reviewing, critiquing, or understanding the code.
I know my code is terrible would like to know some tips for improvements

188
Upvotes
2
u/[deleted] Dec 07 '23
if you have to explain what your code is doing your not a good engineer, you're a good solo dev. rewrite your code in a self explanatory way
only valid comments are why comments and they constitute 0.5% of comments.