4 ms·
> Every time I come back to those parts of the program, I am happy I made the effort to add a comment – they have been very helpful! Exactly. Rarely hear some
by iblaine 5y ago
> Every time I come back to those parts of the program, I am happy I made the effort to add a comment – they have been very helpful!
Exactly. Rarely hear someone say there are too many comments in this code! And feel free to not stop at the docstrings. Nested loops, obfuscated 1 liners, business logic that required a cross functional meeting to understand, are all valid reasons to be generous with comments.