Re:I no longer understand my PhD dissertation
by lmm on Monday February 15, 2016 @07:55AM
(#11103075)
I think a lot of coders jump to comments as a first resort rather than trying to make the code clear. In theory it's not a tradeoff, but in practice I've seen a lot of heavily-commented code with single-letter variable names. My rule of thumb would something like "never write a comment until you've spent at least 5 minutes trying to make the comment unnecessary".
[ Parent
| on HN ]
There are no comments on this comment yet.