In this video we we look at some of the best practices and coding conventions for JavaScript. We’re going to go through a number of rule that can help you write clean code. If you stick to the rules stated in this video and write clean JavaScript code, people will perceive your work differently.
Coding conventions secure quality, improve code readability and make code maintenance easier. They can be documented rules for teams to follow, or just be your individual coding practice.
Following coding conventions can help make your code more consistent, predictable and readable.
Writing clean code is a benefit both to you and your co-workers. Why? Can you remember a time when you carried out a code review and had to question what was happening in a specific function. If you have, then it means the code probably could’ve been cleaner. It’s something we should aspire to do.
#javascript #programming