Y
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
mhurron
3752 days ago
You still need to document intent. No code is self documenting.
link
dllthomas
3751 days ago
In some cases, naming may be sufficient to communicate intent.
link