3 ms·
I think you’re trapped in this “comments must exist” mindset that’s simply not true or necessary. Every single thing you like about comments can be accomplished
by SpeedilyDamage 4y ago
I think you’re trapped in this “comments must exist” mindset that’s simply not true or necessary. Every single thing you like about comments can be accomplished with self documenting code and accompanying “why” docs.
There’s simply no need for inline comments anymore, and continuing to use them is admitting you’re not putting the kind of effort you’re capable of into building software.
Not sure why this was flagged...
- alpaca128 4y ago> Every single thing you like about comments can be accomplished with self documenting code and accompanying “why” docs. Except being exactly where and when it's needed, with any modern editor being able to hide it for people who don't want it. You seem to base everything on the assumption that comments are always the worst choice, and that people don't behave like people but always document things the right way no matter how cumbersome or complex that is compared to the obvious way. Seeing things in black and white is usually not the best solution. > continuing to use them is admitting you’re not putting the kind of effort you’re capable of into building software. No, and I hope that kind of thinking won't mislead you into believing you are at your peak because you don't write comments.
- SpeedilyDamage 4y agoHow can I hide comments in VS Code? And all I’ve said is comments are a last resort. Nothing black/white about that, just tired of egos getting in the way of seeing how there are a million ways in practice to avoid comments that people who “like” comments refuse to learn about.