Content deleted Content added
No edit summary |
* cleanup |
||
Line 1:
A '''computer bug''' is
Typically, bugs arise from mistakes in the [[source code]] of a computer program. However, they can also arise from either faulty software design. Almost all computer programs contain bugs of some kind.
Bugs have widely varying effects on computer programs. Some bugs do not prevent the program from working, and may therefore lie undetected for a long time. Other bugs may cause the program to [[crash]] or [[freeze (computing)|freeze]]. In some [[operating system|operating systems]], such as [[Microsoft Windows]], crashing or freezing programs may render the computer unusable until it is [[boot (computing)|rebooted]]; see [[Blue Screen of Death]].
It became
The proliferation of bugs is a natural consequence of the nature of the programming task. Computer programs often are very complex
▲It became obvious very early on in the history of digital computers that bug-finding and fixing would be a major component of programmer activity. [[Maurice Wilkes]], an early pioneer, described his realisation in the late 1940's that much of the rest of his life would be spent finding mistakes in his own programs. He was proven correct, as the complexity of computer programs grew bugs grew ever more common and difficult to fix.
▲The proliferation of bugs is a natural consequence of the nature of the programming task. Computer programs are very complex systems, and it is impossible for programmers to keep every detail of one in their heads. One very common type of error occurs when the input to a section of a program violates the assumptions (be they explicit or implicit) of the implementer or designer of that section. Much effort has gone into design and programming techniques to reduce the frequency of this error type.
The academic discipline of [[software engineering]] has evolved as a response to the challenge of improving software quality, which in part means dealing with computer bugs and reducing their associated costs. (Software engineering also deals with more fundamental software <i>design</i> issues, which, as mentioned above, are not generally categorized as "bugs".) Modern computer languages, programming environments, common programming techniques and development methodologies include many of the lessons learned.
|