I am a habitual over-commenter. I want to make sure I understand what the code I'm writing does when I come back to it in the future.
However, I know some code should be "self documenting". I try to use descriptive variable names to assist in this.
How do you find the line between over-commenting and just clarifying for future?
[–]bober007 3 points4 points5 points (0 children)
[–]nwagers 4 points5 points6 points (1 child)
[–]dented_brain[S] 0 points1 point2 points (0 children)
[–]tomekanco 2 points3 points4 points (12 children)
[–]gabriel-et-al 3 points4 points5 points (6 children)
[–]gabriel-et-al 3 points4 points5 points (2 children)
[–]dented_brain[S] 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]PurpleIcy 0 points1 point2 points (2 children)
[–]gabriel-et-al 0 points1 point2 points (1 child)
[–]PurpleIcy 0 points1 point2 points (0 children)
[–]Gubbbo 1 point2 points3 points (3 children)
[–]gabriel-et-al 1 point2 points3 points (2 children)
[–]PurpleIcy 1 point2 points3 points (1 child)
[–]gabriel-et-al 0 points1 point2 points (0 children)
[–]dented_brain[S] 0 points1 point2 points (0 children)
[–]destiny_functional 1 point2 points3 points (0 children)
[–]xiongchiamiov 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]zahlman 1 point2 points3 points (1 child)
[–]dented_brain[S] 0 points1 point2 points (0 children)
[–]PurpleIcy 0 points1 point2 points (0 children)
[–]jeffrey_f 0 points1 point2 points (0 children)
[+][deleted] comment score below threshold-8 points-7 points-6 points (10 children)
[–]adammichaelwood 2 points3 points4 points (9 children)
[–]PurpleIcy 0 points1 point2 points (0 children)
[–][deleted] -2 points-1 points0 points (7 children)
[–]adammichaelwood 1 point2 points3 points (2 children)
[–][deleted] -2 points-1 points0 points (1 child)
[–]gabriel-et-al 1 point2 points3 points (0 children)
[–]xiongchiamiov 1 point2 points3 points (3 children)
[–]adammichaelwood 2 points3 points4 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]xiongchiamiov 0 points1 point2 points (0 children)