Re:Useful and useless code comments
by mt40 on Friday June 18, 2021 @04:24AM
(#27548447)
I do this all the time as well ever since I knew about this technique.
For me, another giant benefit is that I can scan through the function and understand what it does just by reading the comment. The energy saved by those comments can be spent on writing more code :)
For me, another giant benefit is that I can scan through the function and understand what it does just by reading the comment. The energy saved by those comments can be spent on writing more code :)