The difference between a good and a great codebase

A computer monitor with “Do what is GREAT”

Bear with me on this. While I was in the restaurant industry I learned, after a few years, the difference between a good manager and a great manager.

A good manager was one who, while in the restaurant, could communicate effectively and get the team to satisfy the customers in a timely professional manner. It became obvious with happy customers coming to the checkout register and occasionally complimenting the food and/or staff.

A great manager was one who could get the same happy customers even when away from the restaurant. A restaurant that runs well without its manager means the staff were hired well, knew what was expected of them, and were trained properly.

Now that I am in the software industry I see a similar pattern. A good codebase is easy to understand and extend, as long as the code owners are around to answer questions.

A great codebase is one where, even when the code owners are away (hopefully on vacation), junior developers can easily understand it and make changes.

Both of these have a few critical concepts in common: simplicity, clarity, and training.

Simple written in wood tiles

When instructions are given in a simple and clear manner it is easy for others to understand and perform.

Simplicity and clarity work the same way in our codebases. They make them easier to understand, test, and extend, which are the critical parts of software.

An effective training program is also critical, and in the restaurant environment, this seems obvious. However, not so in the software world. Many software teams lack a good training or mentoring program.

People in a meeting

A focus on training should also be the case in our software teams. We should be training our teams to test and follow critical principles often, not just handing them a task and leaving them alone (which happens all too often in the real world).

The software industry has been moving at breakneck speed and looks as if it will continue to do so. Until AI supplants all of us, I urge everyone to remember a few of these core concepts and hopefully they will improve your teams as well.

Previous
Previous

The Integration Sandwich

Next
Next

Hard Questions