2 ms·
I can say, after 20 years that only twice (iirc) have JavaScript comments every been useful to me. Comments, in general, have not shown to be too useful except
by jack9 11y ago
I can say, after 20 years that only twice (iirc) have JavaScript comments every been useful to me. Comments, in general, have not shown to be too useful except in very specific problemspaces. The idea that TODO comments "tend to stay in the code" is GOOD. That's the point of a TODO, rather than putting it in the commit message where it will definitely be forgotten. Where there is a passing reference to "cleaning up commits", if your commits are being viewed by anyone else, TODOs tend to get maintained correctly. I'm really not sure where this author is coming from on that.