← all writings

Why Do Good Coding Habits Matter?

A curved wall of library bookshelves seen from beside a metal railing

A little story on developing good coding habits for the good of our industry.


You were told you have a knack for coding and decided to go online and learn a bit more about it. Then you discovered that a framework or plugin sells you the idea that it can do EVERYTHING you want and it is all packaged up for you.

Hold on there…

Before you go ahead and download that framework, think about your project and ask yourself the following question: “Does my project need everything in this framework?”

What many new developers don’t understand about frameworks is that they aren’t a global solution to all your needs.

Frameworks are great tools to use for rapid prototyping and setups, but they can also be a hassle if you don’t know what’s going on behind the scenes. Most bring with them tons of extra features that get unused and just add bloat to a project.

Plugins are very similar to frameworks with their features. They are great to use if you use all of the features, but if you only use one or two, you’re adding extra and unnecessary bloat to your project.

Lately I’ve seen many developers who will learn from a framework and become very dependent on it. Whether it’s Bootstrap, Foundation, or any custom one created, developers don’t realize that they are hurting their product, rather than helping it. When they are asked why is it that the performance of a product is slow, they usually don’t know how to respond and the culprit tends to be the framework.

Learning from a framework opens you up to bad coding habits from other developers and hinders you from developing your own coding style. You start basing your code off of others and then reusing that code over and over again. However, if you didn’t take the time to understand why that code was used, you have opened your product to have bad code in it.

What should you do?

When you start coding, learn from scratch. If you get stuck, instead of looking for a plugin or framework to solve your issue, go ahead and look up how to fix the issue. This will not only fix your issue, but also expand your knowledge in development. Always strive to learn everything you can about coding and get an understanding of how your code or any other code works.

If you plan to use a framework or plugin, learn how it was built before you use it. This will help you choose the right features to get and avoid the extra bloat. Also, if you are an advocate for open source like I am, you can even provide your good coding habits to these frameworks and make them even better.