DEV Community

Discussion on: What bothers you about a dev?

Collapse
 
anzelika profile image
Anzelika • Edited

Not commenting their code/using vague variables (let item vs let productPriceItem). Yes, it may be your baby you know by heart, but I find that within a team, it's really selfish not to leave a few lines explaining what is pulled from where and what the method does. There are high chances someone else needs to drop in to maintain your code. Please be kind to their poor souls <3

Collapse
 
caroso1222 profile image
Carlos Roso

Absolutely! they say "the best docs are no docs", that code should be so well written that it should be self-explained. I can't disagree with that more. A comment or a semantic variable will triumph over everything. It makes the codebase a lot more maintainable.

Thanks, Anzelika, keep it up! :D