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
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
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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
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