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

learn more… | top users | synonyms (1)

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 ...
32
votes
7answers
4k 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 ...
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 ...
9
votes
5answers
1k views

How to account for a bug fixing iteration?

We have implemented Scrum quite successfully for the past 5 months. Though, we are 3 weeks away from PROD without ever doing any end-to-end integration test. OUCH! I need help. Without tackling the ...
20
votes
10answers
4k views

What to do with bugs that do not repro?

I have a tester that while testing will have an error occur (ok so far), but then he frequently reports it right away. We (the developers) then later find that the tester has not tried to reproduce ...
244
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 ...
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 ...
36
votes
14answers
19k 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 ...
53
votes
19answers
6k views

How come compilers are so reliable?

We use compilers on a daily basis as if their correctness is a given, but compilers are programs too, and can potentially contain bugs. I always wondered about this infallible robustness. Have you ...
2
votes
10answers
6k views

Who is responsible for defects found during development?

When the QA find an error like 'broken design in web programming', do you call it a bug and the corrections 'patches'? (Assume all this is before delivery.) I was of the feeling that the corrections ...
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 ...
10
votes
11answers
2k views

Turn away a bug if no reproducible test case exists? [duplicate]

If the customer has problems which are not reproducible because of complexity of actions they took and can't remember step by step, then coders are missing a test case. Indeed, this issue 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, ...
19
votes
11answers
471 views

Fixing a bug while working on a different part of the code base

This happened at least once to me. I'm working on some part of the code base and find a small bug in a different part, and the bug stops me from completing what I'm currently trying to do. Fixing the ...
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 ...
46
votes
12answers
6k 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 ...
41
votes
24answers
4k views

Most common “Y2K-style” bugs today? [closed]

I don't specifically mean date-related issues like 2038, but more generally, bugs that fit the pattern: A generation ago, programmers tended to write code that ass-u-me-d X, which was reasonable at ...
29
votes
8answers
12k 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)....
40
votes
9answers
2k views

Code maintenance: To add comments in code or to just leave it to the version control?

We have been asked to add comments with start tags, end tags, description, solution etc for each change that we make to the code as part of fixing a bug / implementing a CR. My concern is, does this ...
12
votes
9answers
495 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.
27
votes
10answers
3k views

Can compilers and interpreters have bugs, and what can we (as users) do to deal with them? [closed]

If a compiler's work is essentially translating source code into machine level code, can there be any glitch in a compiler, i.e. a faulty "translation?" The same goes for an interpreter: can it fail ...
18
votes
10answers
3k views

Why is software still released with known bugs? [closed]

It seems that frequently in large projects the software is still released with the bug tracker full of bugs. Now I can understand feature requests, but several times I've seen large numbers of bugs ...
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 ...
8
votes
2answers
561 views

How to “neutralize” those who write bad code on the team?

I always loved this article on JoelOnSoftware called "Getting Things Done When You're Only a Grunt" . I could especially relate when I was newbie (and still feel like I will ALWAYS be one). About #4, ...
23
votes
6answers
1k views

Understanding the problem when things break in production

Scenario: You push to production The push broke multiple things That same build did not break qa or dev As a developer, you don't have prod access. There is lots of pressure from above to get ...
8
votes
3answers
3k views

What was the historical impact of Ariane 5's Flight 501?

The disintegration of the Ariane 5 rocket 37 seconds after launch on her maiden voyage (Flight 501) is commonly referred to as one of the most expensive software bugs in history1: It took the ...
4
votes
4answers
776 views

Have you ever found a bug you can't solve? What do you do in that case?

We're developing a hosted CMS, something like WordPress.com. When we were creating the Image Gallery module, we examined many jQuery libraries like easySlider, jCarousel, and Nivo Slider. But each of ...
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 ...
7
votes
3answers
610 views

Un-Explainable Bugs?

I've encountered bugs that are extremely difficult to reproduce reliably and/or explain definitively, but that appear to be solved. When this happens, how much time should I spend chasing it down? ...
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 ...
1
vote
1answer
218 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 ...
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 ...