Questions tagged [bug]

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

142 questions
53
votes
10 answers

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 place, at which point the program promptly stops…
Pacerier
  • 4,993
30
votes
17 answers

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 writing new software and changing/maintaining…
GSto
  • 8,531
18
votes
10 answers

Why is software still released with known bugs?

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 still unresolved, not reviewed, or not finished but…
TheLQ
  • 13,580
7
votes
13 answers

How would most programmers feel about the bugs they wrote?

Do they feel frustrated, disappointed, or even don't admit at all?
Jervis
  • 717
7
votes
5 answers

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

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 could help learning but the disadvantage is it could…
JoelFan
  • 7,091
4
votes
7 answers

What percentage of bugs should be stamped out before a project can be accepted as a stable release?

We have been working with a shopping cart for DotNetNuke, and have had endless problems with the developer's releases of their product. Every release fixes one thing but new bugs pop up elsewhere. I know that bugs are inevitable and that we cannot…
3
votes
2 answers

Bug root cause analysis

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 notice it, and sometimes this leads to major…
Eugene
  • 1,943
2
votes
7 answers

Power failure should be considered as a scenario to implement?

Do you think that power failure is a scenario to implement? At what time that scenario should be taken into consideration? If power failure will cause some data loss so do you care about it ? if(IsImportant(data)) ... else .. ? What do you think If…
Freshblood
  • 1,515
2
votes
2 answers

Software Defect Patterns

Does the Pareto Principle, that being 20% of the causes are link to 80% of the problems, apply to software bugs, and if so, are there any common patterns of note on average within the 20% of cause?
blunders
  • 4,530
1
vote
2 answers

What does "trivial" mean?

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 which we can say that a program isn't trivial and…
ojf
  • 19
1
vote
2 answers

How to deal with Ghost bugs which appears in undocumented test-case scenarios?

There are instances which cane be seen while testing the application, both by developers and testers, some NullPointerExceptions arriving while clicking on a node in the table, or while doing an action too fast or under a zillion test-cases which do…