Skip to content
WildCat StudioIndependent since 2011

Software development

What construction taught me about software

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.

Software development3 min read

Background

Two careers that rhyme

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

Decide the base before the details

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

Someone pays eventually

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

The boring parts of good work

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 is cheaper to change

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

Keep reading

Keep reading

More from the journal