
Coding standards often focus on details like whether to indent with two or four spaces, or whether to place a closing curly brace on a new line. To some, these rules may seem unnecessary or pedantic. However, I see them differently: coding standards are one of the most powerful tools a programmer can use to improve software quality, enhance readability, and foster personal growth as a coder. Following coding standards helps people write code that is easy to understand and share with others. It also lays the foundation for learning and applying other software engineering techniques in the future to further improve code quality.
So far, I believe that if we were to implement only one software engineering technique to improve code quality, it should be coding standards. Consistent standards make code predictable and understandable, both for others and for yourself. A well-formatted and standardized codebase can prevent bugs, make debugging faster, and facilitate collaboration. Using coding standards also reinforces good programming habits. For example, ESLint enforces patterns in JavaScript that help you internalize language features and discover best practices. In this way, coding standards can accelerate learning and lead to a deeper understanding of a programming language.
My experience with VSCode has been somewhat neutral. I have used VSCode for a long time, so I am fairly accustomed to it. However, during this course, I had to download many extensions and work with repositories from GitHub. I also learned how to use different extensions, such as ESLint and HTML Boilerplate. Since I am not very familiar with HTML, the HTML Boilerplate extension has been incredibly helpful for quickly implementing code for a website and inspecting it effectively. Additionally, GitHub Copilot has been useful for providing AI-assisted guidance and suggestions. Before this course, I didn’t realize that VSCode has a built-in terminal; I used to only write code and run it through the debug feature. Discovering the integrated terminal has been a game changer for my workflow.
My experience with ESLint in VSCode has been somewhat frustrating at times. Whenever I create a new repository for a coding assignment, I often have to download the same files repeatedly. Additionally, on my computer, ESLint is restricted, so I have to use a bypass in the terminal to run npm install. Despite these annoyances, the features that ESLint provides are very helpful. Commands like npm run lint and npm run lint-fix make it easy to identify errors in the code and automatically format it according to the coding standards. However, when these features don’t work, manually fixing the errors can be tedious. We have to individually edit lines to ensure the code adheres to the standards, which can be time-consuming but ultimately reinforces good coding habits.
Coding standards are far from trivial. They are an essential tool for writing high quality, maintainable software, and they can even accelerate your learning as a programmer. While following rules like ESLint may feel annoying at first, the clarity, consistency, and confidence it brings to your code are worth the initial struggle. By combining coding standards with tools like VSCode, ESLint, HTML Boilerplate, and GitHub Copilot, a programmer can write cleaner, more efficient, and more professional code. If you ever wonder why spaces, tabs, or semicolons matter, remember that good coding standards are like good manners—they make the world a more readable and less chaotic place.