DEV Community

Discussion on: Comments' Usage and Best Practices in JavaScript

Collapse
 
darthbob88 profile image
Raymond Price

Nice article. WRT the "level of detail" section, the rule I use in mentoring students is that your comment shouldn't tell me what you're doing, since I can read the code to see that. It should tell me why you're doing something.

Collapse
 
shhdharmen profile image
Dharmen Shah

Very true.