How Passion for Programming Can Make us Worse at our Jobs · Philosophical Hacker

who chooses a shot that is better overall because someone walked in to that shot.

He says:The film editor was focused on the precise execution of his own speciality.

He was concerned that other film editors who saw the movie would judge his work based on its technical perfection.

In the process, the heart of the scene had been lost.

Affect Heuristic Clouding Judgment on the Risks of Technical DebtA big part of what we do as programmers is manage technical debt.

Unfortunately, much of how we manage this technical debt is determined by our intuitive judgments about the risks and impact of technical debt in our codebase.

These intuitive judgments are going to run through the affect heuristic, a mental shortcut we subconsciously use to judge the riskiness of X by considering our emotional reaction towards X.

As programmers, we don’t like crap code, so we’re likely to over-estimate the risk that code poses to the business.

Widely-respected programmers have suggested that there are often other more important factors at play that are a risk to the business.

Here are two examples:Good engineering is maybe 20 percent of a project’s success.

Bad engineering will certainly sink projects, but modest engineering can enable project success as long as the other 80 percent lines up right…–KentBeck, TDD by ExampleFor the overwhelming majority of the bankrupt projects we studied, there was not a single technological issue to explain the failure.

The cause of failure most frequently cited by our survey participants was “politics.

”–Tom Demarco and Timothy Lister, PeoplewareThe claim isn’t that technical debt doesn’t matter.

It matters.

The claim here is merely that a passion for good code can cloud our judgment — via the affect heuristic — about the importance of paying down technical debt relative to other goals.

Programmer IsolationismConsider two views on how involved programmers should be in non-programming activities.

On Joel Spolsky’s view, developers ought to isolated from the business via a “developer abstraction layer.

” In fact, he says, “Management’s primary responsibility to create the illusion that a software company can be run by writing code, because that’s what programmers do.

”Marty Cagan has a very different view.

He says, “if your programmers are only programming, you’re only getting half their value.

” Support-driven development — where software developers actually do customer support — has even become a thing at companies like Zapier1and Wufoo2.

Simply asking which view is right is a bad question.

Here are better ones:In which circumstances is each view more appropriate?Do we usually pick the right view for the right circumstance?I think we often screw this up, and I think programmer passion, among other things is implicated in this mistake.

I think we tend to favor the Spolskian view too often.

We should prefer the Spolskian view when the “how” of a project is murkier than the “what” and prefer the Caganesque view when the “what” is murkier than the “how.

”If you know exactly what you need to build but you’re worried how you’re going to build it, isolating developers from the business is a great play.

Hard problems don’t get solved with constant interruptions and a general lack of focus on the problem.

Spolsky’s view FTW here.

If you don’t know what you need to build and the how is fairly trivial, developers should be recruited to help the business understand what to build.

Programmers understand the how, which means they can provide a great map of the space of possibilities of what to build.

The problem is that is our love for technical problems can enable the business to pick the wrong view for the wrong circumstance.

We’re like,If the business wants to isolate us so that we can program, awesome.

You’ll get no argument from us.

We’ll be busy programming.

????Since serious growth as a programmer often comes on the heels of actual usage of a product by a large group of people, allowing the business to make this mistake is bad for our growth as programmers and bad for the business.

Builder vs.

Market Quality Standards MismatchLet’s start with a confession: I often give myself permission to “fix” a part of the codebase that I can’t stand looking at anymore.

Even when this doesn’t lead to an unanticipated bug, it often takes time away from shipping.

“Just addressing tech debt,” I say.

But if I’m honest, it may be more about my sanity.

Some are fine with this.

I once met an engineer at Yahoo!.who said that “developer happiness” could be invoked during sprint planning to justify working on something.

The authors of Peopleware actually claim that software quality should be set by programmers, not the market.

They say:“We all tend to tie our self-esteem strongly to the quality of the product we produce…A market-derived quality standard seems to make good sense only as long as you ignore the effect on the builder’s attitude and effectiveness…”This is a strong claim that I doubt is entirely true, but to the extent that it is true, it would mean the company wastes money satisfying our desire quality insofar as our quality standard outstrips the market demand for quality.

This is especially problematic in a startup.

An early stage startup is a war to survive, so when our passion for programming drives us to insist on higher quality than our customers demand, we wind up acting like soldiers who have gotten stuck in the trenches polishing our rifles because it makes us feel better.

I’m not saying that there’s anything wrong with caring about quality or interesting problems.

I just think that at a startup, its tough if programmers are focusing on these things over survival.

Excessive SpecializationFor a while now, I’ve suspected that programmer specialization is often sub-optimal for businesses.

Andy Grove’s diner analogy and his concept of a “limiting step” in High Output Management gives me a nice way of explaining why this is probably true.

Grove says that if we’re trying to run a diner well (or recruit talent, or build a compiler), we’d do well to identify the “limiting step” in the process required to create a breakfast.

In a breakfast with an egg, toast, and coffee, preparing the egg is the limiting step.

This is because preparing the egg takes the most time of all the steps.

Regardless of how fast we get at preparing coffee and toast, the number of breakfasts we serve will ultimately be limited by the egg preparation time, which, in turn, limits revenue the diner can generate.

In many technology companies, there is a skill-set analogous to egg preparation in that it limits the overall rate at which features can be developed, which in turn limits the revenue the company can generate from those features.

An employee at the above diner who believed that improving her coffee prepping skills would actually help the business would be mistaken.

The same applies to programmers who think that specializing in their non-limiting-step discipline is good for the business.

Programmer passion for her “favorite stack” can blind her to this.

There are plenty of cases where continued specialization will in fact yield benefits to the business, even if programmers are specializing in a non-limiting-step discipline/stack.

3A specialist may be able to product higher quality code in less time that contains less bugs, which could lead to increased referrals for your software product.

Moreover, deeper knowledge can lead to a richer view of what’s possible with a given stack, which can better inform product and project management decisions.

However, at some point, further investments in quality and keeping up with all the newest approaches to solving problems with our stacks will yield diminishing returns, and I suspect that this point occurs much sooner than a lot of us realize.

NotesOriginally published at www.

philosophicalhacker.

com on November 10, 2018.

.

. More details

Leave a Reply