Re:Absolute truths I unlearned as junior developer
by TimTheTinker on Friday June 07, 2019 @03:13PM
(#20127712)
> Code is for how, comment is for why.
Excellent. For interfaces, other code that uses the interface (perhaps even tests) can also help to document the "why".
``` doesAThing() //does a thing ```
doesn't help anyone.
My rule: Code is for how, comment is for why.