Long-term maintainability
The principle that grew out of this, with its limits.
Software development
Years working with wood, wiring and commercial buildings left a set of habits that turn out to apply almost line for line to writing software.
Background
Before software was the main focus, I worked in construction. It began as an electrician's assistant and became mostly carpentry, first on residential work and later on commercial projects. I never stopped programming in my spare time, and the two never felt as different as they sound.
This is not a claim that software is construction. It is an observation about habits that transfer.
Foundations
A structure needs a solid foundation. Poor decisions made early are the expensive ones, because everything built afterwards sits on them. In software the equivalent is the data model, the boundaries between components and the handling of anything that can go wrong. Interface polish can be redone cheaply. A flawed foundation cannot.
This is also why security and privacy belong at the start. A feature can be added to a finished system. Trust is far harder to retrofit.
Shortcuts
Cutting corners saves time at the beginning of a job and costs time at the end of it, and the person paying is usually not the person who made the decision. In construction, that bill arrives as a callback. In software, it arrives as a bug at the worst possible moment, or as a change nobody can make safely any more.
The habit this builds is to ask who will have to live with a decision. If the answer is "me, in a year", the decision gets made more carefully.
Planning and craftsmanship
Good building work is planned, measured and checked before it is committed to material. A poorly designed application generally will not collapse on your head, which is a mixed blessing: it makes carelessness feel cheap. The principles that matter are the same ones that apply on a site: planning, structural integrity, problem-solving and plain craftsmanship.
Most of this is invisible when it is done well. Nobody admires a foundation. They notice only when it is missing, which is the argument for documenting, testing and structuring work even though it is hard to show off.
Where the comparison stops
Software has an advantage that buildings lack: it can be changed afterwards, quickly and without a crane. That advantage is exactly what makes it tempting to skip the planning. It is a reason to plan a little less rigidly, not to stop planning. The goal is still a design you would be comfortable maintaining for years.
Software isn't particularly different.
Related
The principle that grew out of this, with its limits.
The personal story of the move from construction sites to computer screens.
Keep reading
Design and creativity
Resourcefulness, creative problem-solving and working with what you have, from an early sublimation printing experience, and why safety, reliability and professional standards still count.
Independent development
Ownership means more than a licence: whether software still works when the developer or the server goes away.
Lessons learned
Most technical problems have a dull cause. A short guide to checking the boring explanations first.