DEV Community

Discussion on: 10 More Mistakes you probably also made in your coding task for a new job Part 2

Collapse
 
spettifer profile image
Steve Pettifer

Definitely agree about comments. Just occasionally they are required, but if you have to describe something using comments then that's probably a smell since it should be easy enough to follow the intent of the code. Code should always follow DAMP principles, which ties in with one of the other points about not using single letter variable names. There's no excuse for that.