Difference between revisions of "Software bug"

From Conservapedia
Jump to navigation Jump to search
(→‎External links: Style edit(s))
(→‎External links: that seems oddly specific. Most major companies have report options at this point.)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
−
A '''Bug''' is a colloquial term for a natural pest (most commonly for insects but can also mean germs as in "coming down with a stomach bug") or flaws in a human-engineered product like a computer.
+
A '''Software bug''' is an errors in [[computer software]]. These are errors which are introduced accidentally while writing or altering code.
−
 
 
−
'''Software bugs''' are errors in [[computer software]].  
 
  
 
==Levels of severity==
 
==Levels of severity==
Line 20: Line 18:
 
* 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. [http://googleresearch.blogspot.com/2006/06/extra-extra-read-all-about-it-nearly.html]
 
* 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. [http://googleresearch.blogspot.com/2006/06/extra-extra-read-all-about-it-nearly.html]
  
−
==External links==
+
 
−
* [http://bugreport.sun.com/bugreport Report a bug or request a feature] - at Sun
 
  
 
[[Category:Computers]][[Category:Software]]
 
[[Category:Computers]][[Category:Software]]

Latest revision as of 23:00, December 1, 2020

A Software bug is an errors in computer software. These are errors which are introduced accidentally while writing or altering code.

Levels of severity

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.

Other ways to classify bugs

The need for vigilance

Speaking of one particularly embarrassing software bug, world class Java expert 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]