5 ms·
The Zero-Bug Policy in Software Development
- wccrawford 10y agoSummary: Have a "zero bug policy" in 1 simple step: Re-classifies bugs you don't want to fix as "improvements". Tada! ... Seriously? That's ridiculous click-bait crap. You didn't implement a zero-bug policy, you just redefined what you call a bug. This is no different than everyone else's policies, except that now you're screwing with terminology.
- samhatoum 10y agoYou missed the part about making them the top priority after you reclassify them. After that, you are right, it's that simple. I even state that in the article that it's not complicated. Yet, not many seem to do it. Click-bait? Not quite. I'm someone that is writing to genuinely provide my experience to others. In the article I discuss why it works and what it does in the long run. Where the origins of Zero-Defect comes from etc etc. Sorry you didn't find it useful, I hope that some do, and I hope that you and your team are the type that don't need this advice.
- kazinator 10y agoThe article is only about known bugs that are sitting in a bug database, which makes the entire piece trivial. The main concern in software quality turning unknown bugs into known bugs, not with reshuffling the type and priority fields in a bug database (which is of course important). "Zero bugs" means "exhaustively tested or else proved correct" (given a perfect set of high level requirements and detailed specification to begin with). Any other use of "zero bugs" in a headline is clickbait. The bugs that screw you are the unknown ones. Like security exploits that the Bad Guys find in the field before you do.
- gshulegaard 10y agoAgain, I responded elsewhere, but I don't think the article was about actually having ZERO bugs. It was about enforcing a strict classification system so you can implement a reasonable prioritization scheme (Critical issues and Bugs are fixed FIRST by distinguishing what are actually bugs and what are Improvements). So it's an article on the development lifecycle and how to get consistent forward progress with some organizational improvements. It's not actually about writing software with "Zero" bugs.
- samhatoum 10y agoAs gshulegaard has mentioned, I think you're taking the name Zero-Bug to mean something different than what I intended. Zero-Bug does not mean writing software without defects - that's impossible, instead it means correctly classifying bugs and then striving to keep the bug-count at 0. I've written another article on the three types of bugs, and one of those is the "unknown ones" you refer to. There are things you can do to tease out some unknowns, but of course there's no cure for bugs as a whole. It's here if you're interested: https://goo.gl/TlvNcY https://goo.gl/TlvNcY On the clickbait, I assure you it's not. I labelled the approach Zero-Bug long before writing the article. It creates an attitude in a team. After I've worked with teams to clarify what Zero-Bug really means, they strived towards doing more checks before even pushing out code. We celebrated Zero-Bug days when we were actually down to 0 and believe it or not, I've seen up to 2 iterations at a go be free of bugs. Coincidence? I don't think so.
- kazinator 10y agoYou're working with a definition of "Zero Bug" that doesn't arise from the meanings of "bug" and "zero" combined together in the obvious, orthogonal way. There are such compounds entrenched in the English language (like "new wave" or "blackboard") but they take decades to enter general use. I don't think we need "zero bug" to be a non-compositional compound of this type. The terms "bug" and "zero" are too significant in computing for us to allow them to be hijacked like this. For instance, we wouldn't redefine "zero latency" as being 5 seconds (say, in a situation in which we can't get it any shorter for the given span, due to the distance and the speed of light). Latency is latency, zero is zero, and five seconds isn't zero. I urge you to reconsider your use of technical language.
- samhatoum 10y agoI like you're reasoning! There is no situation where zero latency actually means a latency of zero, whereas in the description I've provided there is a situation where you end up with zero bugs. Out of interest, what would you call the action of striving towards zero bugs?
- 10y ago
- Dylan16807 10y agoIt's a useful classification system, but calling it "zero bugs" is basically a lie. Whether something is labeled critical/bug or not is based on importance, not whether it's actually a bug.
- samhatoum 10y agoIt's not really a lie when you think about it. It's very true to its name. It's saying, after you've classified the bugs, you're not to do any other work until the bug list is cleared. This will lead you to zero-bugs (of the known ones of course). I've implemented and seen this first-hand in 4 different companies.
- Dylan16807 10y agoThat's not the part I'm calling a lie. Let me word it differently. You classify tickets into categories A,B,X,Y. You always clear out A and B before doing anything else. As a strategy to have "zero unresolved important issues", it's valid. The disconnect is between the "Bug" ticket category, and the actual definition of what a bug is. "Web font is being downloaded when it should be embedded in the app" is clearly a bug, by the normal definition of bug. This system classifies by priority to get Critical/"Bug"/Other, and it further divides the lowest priority into new features vs. changing features. At no point does it ask if something is a mistake. It doesn't care. So it shouldn't use the word 'bug'. It tricks people into thinking it's something it's not.
- samhatoum 10y agoActually this is where you can be flexible with a specification. If the ticket was initially specified as embedding the fonts, then technically it's an implementation defect since it was already specified. However, as a team you might decide it's not too bad to download fonts instead of embedding them. This is where you can be flexible with the solution. Instead ob being rigid with expectation when the reality is the bug can comfortably be re-classified. If however the loading time with downloading the fonts is something the team is not as per the team's quality standards and they are not willing to live with it, then it should absolutely remain as a bug. Now that the classification portion is out of the way, the team priority is to work on bugs first no matter what. So I'm saying that "the actual definition of what a bug is" should be stated as a guideline and the team can decide on an ongoing basis. Some guidelines might be rigid, others not so much.
- deleted 10y ago[deleted]
- gshulegaard 10y agoPerhaps I am wrong here, but I got a much different message out of the post. It's not about actually having ZERO bugs as it is about enforcing a strict and logical classification system. I think this quote resonated with me the most: > ...but much more so, the bugs were a result of incorrect specification or missing specifications. The argument being made is that if you hand a developer a specification, the developer implements the specification _as specified_, then you discover the specification was incorrect or that in practice you want a change would you classify that as a _BUG_? No. But a lot of shops _do_, so they end up with _too_ many tasks classified as a "Bug" which makes it impossible to prioritize since being a "Bug" is a binary descriptor. By enforcing a classification system means you have the ability to then enforce a prioritization system...and really the prioritization system is key for maintaining consistent output and forward progress. At least that what I felt the argument of the post was...and I see some reasonability to it. Especially since, as the author mentioned, this is not a new idea.
- kazinator 10y ago> about enforcing a strict and logical classification system. But that is something so common place that even pretty poorly run software organizations which ship crap do it. The rhetorical Everyone has a bug database with features, enhancements, low priority bugs and "blockers". That plus version control is the bare minimum requirement for having any kind of process distinguishable from total chaos. This is an article about water being wet.
- gshulegaard 10y agoPerhaps, but having worked for a government sub-contractor that had precisely this problem, I don't think it's as universally true as you would think. At that particular company, everything was a "task" and tasks were just thrown at employees as they came. This wasn't just limited to software development either...this applied to customer support and service as well. Their solution, and the solution the customer (government contractors) was to schedule numerous and regular meetings in order to touch base and monitor progress...which only contributed to the problem. Also the article itself is actually a case study...