From: 4 Unwritten Rules for Writing Code I Barely See Anyone Mentioning | JavaScript in Plain English
These rules separate bad developers from great ones
- Only comment what your code can’t express
- Don’t make a massive change to the codebase
- Don’t use confusing names in your codebase
- Keep the function length small
Well, at least the fourth is one of the staple suggestions of the GNU guidelines.