Re:Why can't you guys comment your fucking code?
by enriquto on Tuesday July 04, 2017 @05:14AM
(#14694608)
But commenting is mostly for yourself! For example, it is very helpful to you comment only your variables (including function arguments).
Declare each variable and argument on separate lines, and add a one-liner comment next to each. If you are afraid that you will fall into comment verbosity hell, you can set up a rule to force yourself to use only single-line comments.
Declare each variable and argument on separate lines, and add a one-liner comment next to each. If you are afraid that you will fall into comment verbosity hell, you can set up a rule to force yourself to use only single-line comments.