Live data from Hacker News

Ask HN: Why is software quality an afterthought for many people/companies?

news.ycombinator.com

11–20 of 100 posts

Re: Ask HN: Why is software quality an afterthought for many people/companies?

#11
If software is created within a profit oriented organisation, then there is a rush to get stuff out the door. Quality is seen as an expensive intangible. Managers are focused on time to market - the shorter the better and costs - the lower the better.

When software is created without a profit motive, then it is to coolness of the idea that motivates the creators. Focusing on quality would only slow down the "creative" process.

Re: Ask HN: Why is software quality an afterthought for many people/companies?

#12

I working in consulting, and in a lot of cases while we're well intentioned in delivering quality software, we're forced to fight against clients in time, budget, scope creep etc. Sadly, things sometimes get rushed out the door and it's not until some time has passed that they realise the enormous tech debt they've incurred.

In my experience managements set the budget and timeline before anybody has adequately evaluated the work that needs to be done. Typically there isn't enough time nor money to support quality engineering practices.

Re: Ask HN: Why is software quality an afterthought for many people/companies?

#14
A lot of views here are based around a capitalistic rational. Though true, I think there are many companies out there that value certain types of cultures, and some of those cultures include good quality software design.

But this is certainly not the majority.

Re: Ask HN: Why is software quality an afterthought for many people/companies?

#16
Clients don't care about quality, they care about features, so management doesn't care about delivering quality, they care about delivering features, so engineers aren't allocated enough time to care about quality, only features. And then it's still the engineers fault when everything explodes or takes 10x longer than it should to rework or expand a feature later.

Basically it comes down to management that is willing and able to tell a client no, or convince the client to budget to do things right, and not management like my current company, which has in the past threatened to disallow even unit test writing and code review as slowing the process down too much.

"Code quality is time and money you're saving your future self" is an argument that only makes sense to people who write code, apparently, until you actually lose a client to avoidable problems.

Re: Ask HN: Why is software quality an afterthought for many people/companies?

#17
Companies do care about code quality, but it's not the same kind of quality. This is the purpose of QA. Every company that has a QA team cares about quality at least enough to hire a full-time person responsible for it.

When developers talk about "quality," they mean tech debt. Addressing tech debt is problematic for businesses because it's something that never ends. You allocate one month for tech debt and the devs will ask for two. Allocate two and they will ask for three. There is no agreed-upon standard at which devs will stop and say, "Now our code is clean."

Add to this the fact that there are many developers who just always seem to have an agenda about the code they're working on. They never work a project except they're dying to add some pattern or change some aspect of the code, even if it's something that they used to favor a year ago.

Re: Ask HN: Why is software quality an afterthought for many people/companies?

#18
post #8

Software development is, apart from a few rare outposts like GOV.UK, conducted in the private sector for a profit. That means that the number one consideration for the software is profitability. For internal-only software, this means that cost is the prime consideration. In support of that, often software startups are trying to capture a winner-takes-all market, so time-to-market is critical. Thirdly, consumer protec…

I was going to say that we still seem to measure everything except code quality - your answer is way more insightful though.

Re: Ask HN: Why is software quality an afterthought for many people/companies?

#19
How do you define software quality? Just off the top of my head, I can think of:

* Defect rate (does it do what it's meant to do?)

* Does it do what the user wants? (not always the same as the above...)

* Is it pleasant and efficient to use (definitely not the same as either of the above).

* Is it developed in a way the management are comfortable with? (which often seems to lean towards sufficiently "under control", replaceable developers).

How do you balance these? The answer will be quite different depending on whether you're landing on Mars or writing a free-to-play game.

Re: Ask HN: Why is software quality an afterthought for many people/companies?

#20
If you embrace the idea that software development is a process of figuring out what to do - there is just no place for quality at the start, only for throwaway prototypes. And you have to avoid any rigidity at that stage, as it only slows the development down. Quality should be introduced later, once you know for sure you would need a production quality implementation of something. Maybe check out whatever Fred Brooks wrote about this.
Post reply on HN