Sitemap
Stackademic

Stackademic is a learning hub for programmers, devs, coders, and engineers. Our goal is to democratize free coding education for the world.

Code Health

2 min readFeb 28, 2025

--

Press enter or click to view image in full size
Photo by Hush Naidoo Jade Photography on Unsplash

One of the things I struggle with in my role is explaining the benefit and justification for spending time bringing code into alignment with generally accepted Software Engineering best practices — especially to non-technical audiences. I like to refer to alignment with best practices as Code Health, because I think it is analogous to our own health.

Often, questions will be asked such as “how much time will this save”, or “what will happen if we don't do this”. This is somewhat like your doctor giving you advice on healthy living and you saying “OK, but before I commit, I want to know which health problems I will experience if I don’t, and how much better I will feel and how much longer I will live if I do.

Your doctor can't give you those answers. What he will do is speak in generalizations and tell you what is likely to happen based on patterns that have been observed in the general population over time. He can also give you reasons why the prescribed steps will help prevent health problems or increase lifespan. But there's no guarantee that if you do those things, you will live a longer, healthier life, or that if you don't do them, you will experience certain health problems and die younger. It is general advice based on large population samples.

We are in a similar situation when it comes to Software Engineering best practices. We can give reasons why following best practices generally yields better results. But we cannot guarantee that following these practices will yield these results or, especially, to what degree. We also cannot guarantee that not following these practices will cause X amount of pain and issues.

The best that we can offer is that, based on what we know from our experience — but much more from the experience of many software developers over decades — is that following best practices generally results in fewer bugs, faster time-to-market, more maintainable code and a more enjoyable development experience for most teams and projects.

Get Sean Haddock’s stories in your inbox

Join Medium for free to get updates from this writer.

Just as with our own health, we must decide if we want to follow the consensus advice or try and beat the odds.

Thank you for being a part of the community

Before you go:

--

--

Sean Haddock
Sean Haddock

Written by Sean Haddock

Senior Web Domain Architect at BOKF

Stackademic
Stackademic

Published in Stackademic

Stackademic is a learning hub for programmers, devs, coders, and engineers. Our goal is to democratize free coding education for the world.