Live data from Hacker News

Ask HN: What would happen if we prioritised all bugs over all new features?

news.ycombinator.com

71–77 of 77 posts

Re: Ask HN: What would happen if we prioritised all bugs over all new features?

#71
post #62

This is known as a zero bug policy [1]. I've had decent success implementing it with my team. The main advantages are: - Prioritizing is hard, so avoid wasting brain cycles deciding how important your bugs are - It encourages all of your team to get things right the first time, because if they don't they know they will be going back to fix it immediately. - If you want to create a culture of quality then it's an obvi…

https://www.joelonsoftware.com/2000/08/09/the-joel-test-12-s... Article from back in 2000, based on info from ~1990. > 5. Do you fix bugs before writing new code? > To correct the problem, Microsoft universally adopted something called a “zero defects methodology”. Many of the programmers in the company giggled, since it sounded like management thought they could reduce the bug count by executive fiat. Actually, “zer…

I was there a little after and his division nor mine still had any such policy.

Joel worked on Office. Have you heard the hair-on-fire customer stories about Office from the 90s? It was a draconian response to what was probably seen as a serious company-wide problem at the time.

Re: Ask HN: What would happen if we prioritised all bugs over all new features?

#73
Whether this would work depends on the kind of system and the deadlines imposed by external needs of the company.

Does your system have a lot of (intentional or unintentional) emergent behavior, like a sandbox-heavy video game? You could end up never making a feature again.

Do your customers expect the frequent shipping of new features? Unless you can sell them on the idea of unexpected or infrequent addition of features, you could quickly lose your core audience.

However, if it is a product that no one is expecting tight deadlines on the release of new features, or the product's purpose is straightforward enough that there is no intentional emergent behavior in the system, then I could see someone running it in this way. I don't mean this in a cheeky way: there are definitely products that fit this criteria. It just won't be something that every product can reasonably do while also expecting to retain their user base.

Re: Ask HN: What would happen if we prioritised all bugs over all new features?

#74
post #18

On a sufficiently complex product it is impossible to fix all known bugs, even classified as will fix. Another issue - it will take so much time that your company will be left behind by the competitors. Maybe less so in the web, but with hardware it's a question of multiyear contracts, so getting abandoned by a big customer in favor of a feature rich competitor may mean that you won't get a second chance with them an…

As systems get more complex slowing down and getting bugs fixed becomes more and more important. If you don't fix them fairly quickly you end up with code elsewhere (either consumers of your APIs, or within your own application) adapting to your bug, leaving you with new bugs when you get around to fixing it!

Re: Ask HN: What would happen if we prioritised all bugs over all new features?

#75
A tale of two companies (true story)...

I worked for a company a full year that always prioritized new features over bug fixes, or even QA. This was a sales-driven company. For various reasons, it was a toxic environment and I left.

The next company I worked for prioritized good engineering over shipping a product. This was an engineering-oriented company. It's funding was running low ('cause - well, no product!) and I got caught up in a layoff.

Company #1 - for 5 months of that year, I was the only QA person (with 13 devs). Literally no time to automate regression - there was always the "next feature we need to close a sale to customer 'X'". I told my boss that inevitably I (or my occasional comrades) would miss something and the company would be liable. Sure enough, within 18 months of my exit, they were hit with 3 different lawsuits.

Company #2 - absolutely delightful environment, except for the non-technical CEO. Understandably, he wanted to return value to the investors, but he kept making short-term decisions about direction that, while intending to make money, ended up accelerating the cash burn. I was promoted to be a technical lead of about 8 people on a side-project that was supposed to leverage technology from a company whose name is a homophone of 1 × 10¹⁰⁰. No surprise, mega-company changed the rules and our potential product was DOA. The entire team (including me) was let go.

TL;DR - quality is engineered in, and everyone owns quality. If a genuine defect exists, determine its severity and likelihood of emergence with customers to determine priority. Don't ship/push to production any code that will cause customers to lose data or their ability to run their businesses. If you have to make a choice, choose bug fixes over new features.

Re: Ask HN: What would happen if we prioritised all bugs over all new features?

#76
post #18

On a sufficiently complex product it is impossible to fix all known bugs, even classified as will fix. Another issue - it will take so much time that your company will be left behind by the competitors. Maybe less so in the web, but with hardware it's a question of multiyear contracts, so getting abandoned by a big customer in favor of a feature rich competitor may mean that you won't get a second chance with them an…

> On a sufficiently complex product it is impossible to fix all known bugs You really think so? Surely it's just a matter of picking a sufficiently high bar for "will fix" and then focusing some time on it.

We had a P0 bug which caused unplanned device reboots in the field with unclear cause. It is still open, 3 years since first detection. And it looks like it will be open until device end of life. We have a mitigation for which affects performance, and that's about it. It was tracked down to deep inside Linux kernel and some firmware interactions and no amount of work produced a fix for it. And that was a mission critical bug, which was pushed by the biggest and super important customer (and others too).

Re: Ask HN: What would happen if we prioritised all bugs over all new features?

#77
It's often faster and cheaper to fix bugs right away. It often takes longer to put the bug in a bug tracker and prioritize it than to fix it.

I have a simple rule that has worked to keep bugs at zero. If you find a bug, drop what you are doing and fix it. If it takes more than 4 hours, only then, put it in your backlog and prioritize it like everything else. Don't keep a separate bug list! Bugs should be in your backlog if they are serious enough (more than 4 hours to fix).

99% of bugs take less than 4 hours to fix.

Bugs slow you down. Keep them at zero! You will be able to finish everything faster!

Post reply on HN