Software bug

From Conservapedia
This is an old revision of this page, as edited by Ed Poor (talk | contribs) at 15:09, September 18, 2009. It may differ significantly from current revision.
Jump to navigation Jump to search

Bugs are what you don't want, whether they are natural pests (like insects) or flaws in a human-engineered product.

Historically, people have referred to insects and spiders as "bugs". It's not clear whether this derives from the phrase, "They bug me", or it's the other way round.

Software bugs are errors in computer software.

For a more detailed treatment, see software bug.

There are levels of bugs:

  1. Crashes the operating system - you lose all your unsaved work in all programs
  2. Crashes the program - you lose your unsaved work in that program
  3. Feature stops working or works wrong
  4. Feature is hard to find ("Can't get there from here") - feature exists, but poorly documented, so you can't find it.

Speaking of one particularly embarrassing software bug, Java guru Joshua Bloch wrote:

  • The general lesson that I take away from this bug is humility: It is hard to write even the smallest piece of code correctly, and our whole world runs on big, complex pieces of code. We programmers need all the help we can get, and we should never assume otherwise. Careful design is great. Testing is great. Formal methods are great. Code reviews are great. Static analysis is great. But none of these things alone are sufficient to eliminate bugs: They will always be with us. A bug can exist for half a century despite our best efforts to exterminate it. We must program carefully, defensively, and remain ever vigilant. [1]


External links