Hacker News new | ask | show | jobs
by prodigal_erik 3752 days ago
Code that's clear enough not to need a comment is better than code that has a comment. Comments can be outdated or mistaken and they consume screen real estate.
1 comments

You still need to document intent. No code is self documenting.
In some cases, naming may be sufficient to communicate intent.