Re:Code only says what it does
by Ma8ee on Monday July 06, 2020 @06:00PM
(#23753293)
A lot of comments can (and should) be replaced with good naming. Sometimes the only reason to introduce a variable or function is to name something. The advantage is that it is harder to not read a name than it is to not read a comment, and it is more obviously a bug when we try to set a variable, or make a function calculate, something not agreeing with its name.
[ Parent
| on HN ]
There are no comments on this comment yet.