Developer Dictionary
Bug
Definition
An error, flaw, or fault in a computer program that causes it to produce an incorrect result.
Deep Dive
In computing, a bug is an error, flaw, or fault in a computer program or system that causes it to produce an incorrect or unexpected result, or to behave in unintended ways. Bugs can range from minor glitches that cause aesthetic issues to critical defects that lead to system crashes, data corruption, or significant security vulnerabilities. The term "bug" is said to have originated from a moth found inside an early relay computer by computer pioneer Grace Hopper, though its use in engineering predates this incident.
Examples & Use Cases
- 1A website button that doesn't respond when clicked
- 2Software crashing unexpectedly when a specific sequence of actions is performed
- 3An e-commerce system miscalculating the total price of items in a shopping cart
Related Terms
DebuggingGlitchExploit