Code shows how it is being done. Comments should explain what is being done.
Re:Avoid Else, Return Early (2013)
by jessaustin on Monday March 26, 2018 @03:53PM
(#16681931)
In some cases it seems that the name of a function takes care of the "what".
Code shows what is being done. Comments should explain why it's being done.