Meta-tag about bugs. Please don't use this.

learn more… | top users | synonyms (1)

67
votes
17answers
6k views

Is it reasonable to insist on reproducing every defect before diagnosing and fixing it?

I work for a software product company. We have large enterprise customers who implement our product and we provide support to them. For example, if there is a defect, we provide patches, etc. In other ...
12
votes
4answers
4k views

Why are off by one errors so common and what can we do to prevent them?

It seems that off-by-one errors are one of the most (if not the most) common programming errors (see What are common mistakes in coding?, and conventional wisdom). What is the reason these are so ...
32
votes
14answers
18k views

Is it possible to reach absolute zero bug state for large scale software?

I am talking about 20-30+ millions lines of code, software at the scale and complexity of Autodesk Maya for example. If you freeze the development as long as it needs to be, can you actually fix all ...
15
votes
5answers
798 views

How to treat bugs that users thought were a feature?

Question: What is the proper way to address a bug that an end-user thought was a feature? Elaboration: I'm guessing that if a large percentage of users expected it as a feature, it should be left "...
10
votes
9answers
1k views

Theoretically bug-free programs

I have read lot of articles which state that code can't be bug-free, and they are talking about these theorems: Halting problem Gödel's incompleteness theorem Rice's theorem Actually Rice's ...
12
votes
9answers
493 views

What mistakes do your users make, and how can you update your application to handle them? [closed]

In fact this question is about cautions to be taken to enhance quality user experience and reduce avoidable support calls.
1
vote
1answer
212 views

Scrum in combination with ad hoc bug fixes [duplicate]

I worked in a company where they tried to use Scrum but in practice it was hard to create a solid sprint backlog because they had a very active userbase, that used the software 8 hours a day, and ...
-3
votes
1answer
67 views

Is 'exercise bugs' an expression?

Is there an expression in programming that something will 'exercise bugs'? I have seen this written before but I don't know what it means.
0
votes
2answers
164 views

Recognize bug or inability to solve a problem by yourself

How to recognize when there is a bug in program or you have an inability to solve concrete problem? I noticed when I concentrate too much time on a problem and can't find a solution, I am starting to ...
41
votes
13answers
6k views

I am making 4-5x more story points than average, but producing bugs at half the rate. Graphs say it's 2x more bugs, how to deal with that?

So it is generally accepted that top tier programmers can produce an order of magnitude more/better code than their more average peers. It's also generally accepted that the rate of errors made in ...
1
vote
1answer
94 views

Consistency of Undefined behavior

If there's a bug that triggers undefined behavior in a piece of code, is the undefined behavior consistent each time running it? and changes each time compiling it? For example if you had some C code ...
4
votes
5answers
208 views

What is the difference expected but not desired behavior and a software bug

Recently I asked this question. As commented in the answer by someone who sounds like a numPy developer, this behavior is clearly not desired. The issue posted was closed stating that this is ...
16
votes
6answers
4k views

Keeping agile with zero-bug/defect policy

In our project we work in a zero-bug (a.k.a zero-defect) methodology. The basic idea is that bugs are always higher in priority than features. If you're working on a story and it has a bug it must be ...
6
votes
5answers
291 views

Should I notify my colleagues when I find a bug in their code? [closed]

If I am assigned a bug, I sometimes check version control to see when it was introduced. Should I notify the developer that introduced the bug, even if I already fixed it? The advantage is that it ...
243
votes
21answers
34k views

Leaving intentional bugs in code for testers to find

We don't do this at our firm, but one of my friends says that his project manager asked every developer to add intentional bugs just before the product goes to QA. This is how it works: Just before ...
33
votes
14answers
2k views

Fix bugs, or wait for the customer to find them?

Do other people fix bugs when they see them, or do they wait until there's crashes/data loss/people die before fixing it? Example 1 Customer customer = null; ... customer.Save(); The code is ...
4
votes
6answers
2k views

Is it best to minimize using pointers in C?

I think most people would agree that pointers are a major source of bugs in C programs (if not the greatest source of bugs). Other languages drop pointers entirely for this reason. When working in C, ...
12
votes
4answers
6k views

How to classify bug severity to complement our priority classification?

At my current job we have Low, Medium, High priority bugs. Low priority bugs are small errors that don't stop shipping or cause real trouble for any user. Medium priority bugs cause some internal ...
5
votes
1answer
185 views

What evidence is there that obeying the Open/Closed principle reduces bugs?

I'm currently putting together a talk where I discuss the value of unit tests in enforcing the SOLID Open/Closed principle. However beyond the obvious "the bug wasn't there when I wrote it, it's been ...
41
votes
9answers
5k views

What's a schrödinbug?

This wiki page tells : A schrödinbug is a bug that manifests only after someone reading source code or using the program in an unusual way notices that it never should have worked in the first ...
3
votes
2answers
106 views

Best way to develop new features as well as fix any bugs for a web system on Windows [closed]

I'm a one-man band and I have a contract with a client to develop and maintain a web-based system that is relied upon. This is the first project of this size and type that I have done for anyone else ...
-1
votes
5answers
263 views

How detailed should public release notes be? [closed]

When releasing a software update, how detailed should the notes be? Specifically, how detailed should bug fixes be?
25
votes
7answers
3k views

What's the best way to avoid catastrophe caused by negligence? [duplicate]

I have been a programmer for almost 1 year. As an ADHD adult, naturally I don't have the same strength of attention on ordinary stuffs as my colleagues do. And I find the catastrophe made by me are ...
0
votes
3answers
145 views

Is unwanted behavior, while work is in progress, declarable as a “bug”?

This might be only a question of definition, but maybe there's a consensus? Given the situation, software Foobar Plus is under construction, we're not working on an update, but on the first release ...
8
votes
4answers
969 views

Who de-duplicates bug tickets?

One of my team mates and I just grabbed separate bug tickets, assigned them separately to ourselves, but the tickets were duplicates! What is the best way to resolve duplicate tickets? Is this ...
32
votes
7answers
3k views

Who should pay for fixes/bugs? [closed]

So I just started freelancing both in desktop/web development and this client who already accepted my work, and payed me keeps coming back at me each time he finds a bug etc. And I have found myself ...
44
votes
12answers
5k views

What programming language generates fewest hard-to-find bugs? [closed]

What language, in your opinion, allows the average programmer to output features with the least amount of hard-to-find bugs? This is of course, a very broad question, and I'm interested in very broad ...
19
votes
4answers
827 views

How should I go about fixing code from a less-experienced programmer?

A little background: I am one of two programmers for our department of 10 people (the rest are artists and management). The two of us do all of the coding required to make things flow well, and ...
30
votes
17answers
9k views

How to reduce the number of bugs when coding?

No one's perfect, and no matter what we do, we are going to produce code that has bugs in it from time to time. What are some methods/techniques for reducing the number of bugs you produce, both when ...
1
vote
2answers
1k views

Best practices for cloning bugs

I'm trying to think of a nice and easy way to do this, but I thought I'd run it past some people for a second opinion: Say you've got 8 clients (one project for each customer) and each project ...
1
vote
4answers
359 views

Pesky bugs - nonexistant?

Very short introduction (this is quite a context-heavy question): I'm a 17 year old programmer, doing some projects, usually netting around 20 files of 200 lines each. I usually don't program very ...
5
votes
8answers
2k views

Customer is “deeply disappointed” in our software because of one bug. How to reply? [duplicate]

We have been building custom software for one of our customer for a few years now. Everything is going well so far. However the customer always has an attitude that when they find a bug in the ...
0
votes
3answers
334 views

Who fixes bugs in a team? [duplicate]

In an agile software development team, who would be the one to fix the bugs introduced in an update? The developer who writes the feature? Someone else specialized specifically in debugging with a ...
29
votes
8answers
11k views

Story points for bug fixing tasks: Is it suitable for Scrum?

I'm just wondering if we should assign story points to bug fixing tasks or not. JIRA, our issues-tracking software, does not have story point field for Bug type issues (it's only for Storys and Epics)....
10
votes
4answers
2k views

What does the term day-one-bug mean?

I came across this term recently in a mail chain. Google tells me there is a term zero-day bug and that Microsoft and Adobe are the frontrunners :) Is there such a term as day one bug? What might ...
18
votes
10answers
2k views

Why not use the word bug instead of exception? [closed]

If we refer to exceptions as bugs, why not just call it a bug in the first place instead of an exception? If in the code it's called exception and as soon as it occurs it's called a bug. Then why not ...
5
votes
4answers
334 views

Is there a name for an internal incorrect behaviour that does not manifest itself as a bug?

To put this in context, I have the following scenario. I am writing a Common Lisp program that works with strings and lists of characters. In a certain function foo, the value of a variable suff is a ...
11
votes
3answers
805 views

Bugs that can be avoided with coding standards [closed]

I am looking for statistics (or estimations) that backup the claim that coding standards help reduce bugs. Hard-numbers would be nice, although I haven't had much look finding any. I've even looked ...
3
votes
2answers
580 views

Bug root cause analysis [closed]

In our group we usually don't ponder too much about what kind of design or implementation decisions caused a bug, we just fix it. Of course if some module constantly produces bugs people start to ...
0
votes
2answers
1k views

What does “trivial” mean? [duplicate]

You often see statements like "all non-trivial software has bugs" or "all non-trivial abstractions are leaky". But what makes a program "trivial" instead of non-trivial? Where is the cut-off line at ...
4
votes
5answers
989 views

Term for accidental features [closed]

Despite the best intentions of programmers; oftentimes, in the real world, software systems contain "accidental features" that are accepted as part of a working system. For example, there may be ...
0
votes
2answers
57 views

Multiple documentation issues in a single bug

It is clearly a bad practice to incorporate several issues in a single bug. It is not convenient, hard to maintain, difficult to keep track of what is done and what is not, etc. But does all this ...
27
votes
11answers
5k views

What did Alan Perlis mean regarding the ways to write error-free programs? [closed]

There's a quotation by Alan J. Perlis that says: There are two ways to write error-free programs; only the third one works. I recently heard this quote from my friend, and was unable to ...
0
votes
3answers
151 views

Fixing bugs may lead to delayed feedback [closed]

I worked in a group in Microsoft that developed the upgrade to the Microsoft Security Essentials antivirus. For a year we worked on the next version of the product. We had 6 milestones (milestone each ...
-2
votes
1answer
269 views

Program unable to write data (read-only file) and losing it — a bug or a feature? [closed]

I found, that some very famous app (I'm not disclosing name intentionally) has a "problem", when writing meta-data of a file and the file turns out to be read-only. Program doesn't handle that too ...
129
votes
16answers
22k views

Is there any way to get faster at solving bugs? I've just had a warning from my boss [closed]

I've just been told by my boss that I will receive a negative performance review on Monday. He wants to talk to me about why I am so slow and why my bug fix rate is so low. I love programming and ...
3
votes
2answers
345 views

Verbose or concise logging [duplicate]

I was wondering how much data should be logged. I know this deeply depends on multiple factors. But it can still be hard to find the golden middle way. Lets say I have an application where people ...
65
votes
7answers
3k views

After years of working alone, other developers will finally see my (buggy) code. What should I do? [duplicate]

I have been working on a system alone for about four years. I have built it from the ground up. It is not a perfect system. It is very complex, it is buggy, and the business is now becoming aware of ...
0
votes
1answer
329 views

Should programmers itemize testing for projects? [closed]

I recently hired a programming team to do a port of my iPad app to the iPhone and Android platforms. Now, in a separate contract, I am asking them to implement a bunch of tips on how to play the ...
3
votes
3answers
602 views

What is exactly bug in the requirements?

I've just looked for a formal definition and haven't found one. The term - "bug in the requirements" was always confusing for me, what does mean exactly?