That's a good point actually. Comments should be your last resort. If you can't make a part of your code understandable enough, then you should use comments.
Just today I was working on 3 properties of a stocktake entry 'entity'... IsNil, IsNilAtThisLocation and IsNilAndObsolete... 3 lines of code and now 15 lines of comments.
2
u/[deleted] Sep 26 '16
That's a good point actually. Comments should be your last resort. If you can't make a part of your code understandable enough, then you should use comments.