This article was peer reviewed by Tim Severien and Mark Brown. Thanks to all of SitePoint’s peer reviewers for making SitePoint content the best it can be! Isn’t it fun to find a comment in code that’s completely out of place and useless? It’s an easy mistake to make: you change some code, and forget to remove or update the comment. A bad comment won’t break your code, but imagine what would happe
![15 Ways to Write Self-documenting JavaScript — SitePoint](https://cdn-ak-scissors.b.st-hatena.com/image/square/690ccd56c3ba5716a22384ca4d6624ec095d4a78/height=288;version=1;width=512/https%3A%2F%2Fuploads.sitepoint.com%2Fwp-content%2Fuploads%2F2016%2F06%2F1469372321document.jpg)