I want very little comments in code. Functions should tell me what they do. And tbat's about all I really want.
Then if something is truely odd, then yes tell me what is going on in a comment. But in general there probably should not be comment in a function body.
I've worked on systems worth high tens of millions USD with teams across three continents. You have no idea what you are taking about. You don't just add comments for no reason, as developers we can read code, we aren't stupid. You write comments to explain very specific pieces of functionality or where it differs from convention or standards
If you can't read code, you're not a programmer and you're going to do more than good changing anything.
You must be a manager of some kind because you've clearly not touched code for 30 years
Lolol - worked on systems — but docs and code comments are a waste of time and not required at all by all major corporations across multiple continents 🤣 omg too funny
Of course we have documentation. We weren't talking about documentation, we were talking about code comments. If you can't even read one single Reddit comment, how would anyone trust you to read comments in code either
Perfect illustration of why you have to actually read
Well, you just kind of skated over the “and” while implying I was only talking about documentation. Probably better just to read your code then huh? Comments and docs don’t seem to be your strong suit.
1
u/esaule 21d ago
I want very little comments in code. Functions should tell me what they do. And tbat's about all I really want.
Then if something is truely odd, then yes tell me what is going on in a comment. But in general there probably should not be comment in a function body.