Re:What most young programmers need to learn
by dllthomas on Monday January 05, 2015 @03:31PM
(#8840944)
Code should exist in comments when it's going to be uncommented shortly. This, because 1) reaching into the VCS is extra work compared to uncommenting something already present (think cache vs disk), and 2) more importantly, it is code that anyone making changes nearby should be aware of.
Code in comments may also occur as a symptom of poor VCS habits, but that's not always the case.
Code in comments may also occur as a symptom of poor VCS habits, but that's not always the case.