News for hackers. Stuff that matters.
Re:Golden rules for becoming a better programmer by dozzie on Tuesday January 26, 2016 @07:26PM (#10977360)
You can't more often than not. Often the "why" is an implementation detail regarding a single statement, and those shouldn't make their way to a function summary.
Re:Golden rules for becoming a better programmer by joshka on Wednesday January 27, 2016 @12:58AM (#10978499)
If there's hidden meaning in an implementation detail regarding a single statement extract that value to one of the following: a) a variable b) a method c) a class All of these provide a mechanism for documenting the code without comments. Show me where you think this doesn't apply.