2 ms·
But commenting is mostly for yourself! For example, it is very helpful to you comment only your variables (including function arguments). Declare each variabl
by enriquto 9y ago
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.