Where does the error word “Bug” come from?

Share this article

I was wondering why we call our programming glitches and errors “a bug”. So I did some quick research… computer-moth-bug

1. Thomas Edison

Thomas Edison wrote the following words in a letter to an associate in 1878:
It has been just so in all of my inventions. The first step is an intuition, and comes with a burst, then difficulties arise — this thing gives out and [it is] then that “Bugs” — as such little faults and difficulties are called — show themselves and months of intense watching, study and labor are requisite before commercial success or failure is certainly reached.[3]

2. Harvard Grace Hopper

In 1946, when Hopper was released from active duty, she joined the Harvard Faculty at the Computation Laboratory where she continued her work on the Mark II and Mark III. Operators traced an error in the Mark II to a moth trapped in a relay, coining the term bug. This bug was carefully removed and taped to the log book. Stemming from the first bug, today we call errors or glitch’s [sic] in a program a bug.

Other Terms for BUG

Different stages of a “mistake” in the entire cycle may be described by using the following terms:[13] * Mistake * Anomaly * Fault * Failure * Error * Exception * Crash * Bug * Defect * Incident * Side Effect Source: http://en.wikipedia.org/wiki/Software_bug

Frequently Asked Questions about the Origin of the Word ‘Bug’

What is the earliest known use of the term ‘bug’ in relation to problems with machinery?

The term ‘bug’ was used in relation to problems with machinery as early as the 19th century. Thomas Edison, the famous inventor, used the term in his letters to describe difficulties or issues with his inventions. However, it wasn’t until the 20th century that the term started being used in relation to computer programming.

How did the term ‘bug’ come to be associated with software errors?

The term ‘bug’ was popularized in the field of computer programming by Grace Hopper, a pioneer in the field. She used the term to describe a problem in the Mark II Aiken Relay Calculator while she was working at Harvard University. The ‘bug’ was a moth that had gotten trapped in the machine, causing it to malfunction. This incident was documented and the term ‘bug’ has been used to describe software errors ever since.

Is the term ‘bug’ used only in the field of computer programming?

No, the term ‘bug’ is not exclusive to computer programming. It is used in various fields to describe a glitch, error, or problem. For example, in the field of electronics, a ‘bug’ can refer to a defect in a circuit. In general, it is used to describe anything that is not working as it should.

Why is the term ‘bug’ still used today in software development?

The term ‘bug’ has become a standard term in the field of software development. It is a simple and effective way to describe a problem or error in a program. It is widely recognized and understood within the industry, making it an effective communication tool.

Are there other terms used to describe software errors?

Yes, there are several other terms used to describe software errors. These include ‘glitch’, ‘fault’, ‘issue’, ‘error’, and ‘defect’. However, ‘bug’ remains the most commonly used term.

Is there a difference between a ‘bug’ and a ‘glitch’?

While both terms are used to describe problems in software, there is a subtle difference. A ‘bug’ is usually a result of a coding error, while a ‘glitch’ is a short-lived fault that corrects itself.

How are ‘bugs’ identified and fixed in software development?

Bugs are identified through a process called debugging. This involves running the program and observing its behavior to identify any issues. Once a bug is identified, it is fixed by modifying the code and then testing the program again to ensure the problem has been resolved.

Can all ‘bugs’ be fixed?

While most bugs can be fixed, some may be too complex or not worth the time and resources to fix. In such cases, the bug may be documented and worked around.

What is a ‘software bug report’?

A software bug report is a document that describes a bug found in a software program. It includes details about the bug, such as what it does, how it affects the program, and steps to reproduce it. This report is used by software developers to understand and fix the bug.

What is the impact of ‘bugs’ on software and users?

Bugs can have a significant impact on both software and users. They can cause software to crash, produce incorrect results, or behave unpredictably. For users, this can lead to frustration, loss of work, or even security vulnerabilities. Therefore, identifying and fixing bugs is a critical part of software development.

Sam DeeringSam Deering
View Author

Sam Deering has 15+ years of programming and website development experience. He was a website consultant at Console, ABC News, Flight Centre, Sapient Nitro, and the QLD Government and runs a tech blog with over 1 million views per month. Currently, Sam is the Founder of Crypto News, Australia.

jQuery
Share this article
Read Next
Get the freshest news and resources for developers, designers and digital creators in your inbox each week