← Back to context

Comment by rachofsunshine

1 day ago

It doesn't happen because building the best software is not the goal of a software engineering job.

If you want to do that on your own time, that's fine - but the purpose of a job is economic. Of course you should write software of some reasonable quality, but optimizations have diminishing economic returns. Eventually, the returns are lower than the cost (in time, money, etc) of further optimizing, and this break-even point is usually at a lower level of quality than engineers would like it to be. Leadership and engineering managers know this and behave accordingly.

Companies can sacrifice every thing for "time to market" - optimization, maintainability, security and safety even - but underestimate the costs of doing that. It is actually more a marketing choice than an economic choice.

One can be skeptical about the implied statement and leadership/management knows what it is doing beyond delivering at the (arbitrarily) set time. One definition of Quality is to satisfy a need entirely at the lowest cost in the shortest time, but more often that not, the last term gets 90% of the attention.

  • > but underestimate the costs of doing that

    Do they? I’ve been fighting against the tide for years until I understood that all of quality this and quality that doesn’t matter. Sure, it sucks to be on the receiving end of buggy software, but this where you vote with your money. At work? Finish the task with least amount of resources and move on.

    • It’s about momentum. Once you lose it the wheels come off. And at first that’s shipping product, but later on it’s adding new features to the minefield you’ve laid. Until you start clearing the mines your velocity continues to drop.

      11 replies →

    • At work the buyer is not the user, so be sure to hound the buyer when he saddles you with crap.

    • > Finish the task with least amount of resources and move on

      which is now claude code...

  • They underestimate how long it takes to turn the boat when lowering operational costs becomes the best avenue to improving revenue.

    I think it’s like switching CEOs when the company goes out of startup mode into grownup company. What got you here won’t keep you here.

  • > Companies can sacrifice every thing for "time to market" - optimization, maintainability, security and safety even - but underestimate the costs of doing that

    If you're working at a company who disregards safety and security good luck getting them to care about clean code and efficiency.

The more systems it is (distributed databases, leader election, strong serialization, safety critical) the more so cheapest path looses.

Making a bug fix on jira or web page there's less to loose.

While I agree with everything you've said, I think you might be making an assumption that quality costs time. In my experience this isn't the case, unless you're starting from a low quality codebase or working with low quality people. A high quality team can produce high quality software in less time than it takes a low quality team to produce low quality software meeting the same functional requirements.

The whole ballgame is making sure you have no low quality people on your team.

  • This isn't an apples-to-apples comparison.

    The quality of your team is more-or-less a pre-existing background variable. The question is whether a team of comparable quality takes longer to produce quality software than hacked-together software, and the answer appears to be "yes". The only way out of this is if optimizing more for code quality *actually helps you recruit better engineers*.

    I can put a little data to that question, at least. I run a recruiting company that does interviews, so we have data both on preferences and on apparent skill level.

    I went and split our data set by whether an engineer indicated that emphasis on code quality was important to them. Our data suggests that you can probably make slightly better hires (in a raw technical-ability sense) by appealing to that candidate pool:

    - Candidates who emphasized quality were slightly (non-significantly) more likely to pass our interview and,

    - Candidates who emphasized quality were slightly (non-significantly) less likely to have gotten a job already

    The effect is pretty small, though, and I doubt it outweighs the additional cost.

  • > A high quality team can produce high quality software in less time than it takes a low quality team to produce low quality software meeting the same functional requirements.

    Key word is ‘can’. And it takes far more time and money to assemble “quality” team.

This is only true in certain contexts. Most of the time software quality is looked over not because it genuinely isnt important but simply because it's hard to perceive.

Ive watched many businesses appreciate the benefits of software quality (happy customers, few incidents, fast feature turnaround) without ascribing it to anything in particular.

Then, when it went away, they chalked up the problems to something else, throwing fixes at it which didnt work.

At no point in time did they accurately perceive what they had or what they lost, even at the point of bankruptcy.

Part of the problem is that the absence of bugs, incidents and delays just feels normal and part of the problem is most people are really bad at detecting second order effects and applying second order fixes. E.g. they think "another developer will fix it" or "devs just need to dedicate more time to manual QA".

Conversely, because it's so hard to see I think it can make a really good competitive moat.

  • It’s like physical fitness. Try explaining to someone who has never been in shape how it’ll feel to be in shape, and they won’t believe you.

    I’ve converted people by building better systems than they’ve seen before. Some balk, but better than half end up getting it and pitching in.

  • > E.g. they think "another developer will fix it"

    Ouch. It seems that when a manager sinks some team's velocity by adding a bad developer to it the following reaction is always to add more bad developers so the velocity recovers.

    And then when they can't herd all the bad developers around, the obvious next step is to finish destroying everything again by imposing some strict process.

  • > ... even at the point of bankruptcy

    It that were always the case we could bask in the joy that the problem sorted itself out, but alas, there's a lot of crap that keeps on going.

  • >At no point in time did they accurately perceive what they had or what they lost, even at the point of bankruptcy.

    This is traditionally not only with software, but other kinds of companies too.

    Some people are just not quality people.

    At this conference there's a presentation encouraging "You should finish your software."

    If that's all people did that would be 10x better right there.

    • We are getting to the point where people don’t even do the “make it right” part of Make it Work, Make it Right, Make it Fast. It’s making it tough to push for the latter when you can’t even get Right out of some people.