An account of the origin of the term "bug" and how a minor incident became a lasting programming term

The Narrative
In 1947, scientist Grace Hopper and her team were working on the Mark II computer at Harvard University. The machine began producing unexpected results and malfunctioning, prompting a detailed inspection of its components.
Upon inspection, a moth was found trapped between electrical components. The incident was recorded as the "First actual case of bug being found." Since then, the term "bug" has been used to describe technical faults.
The incident illustrates that technical errors can stem from unforeseen causes and that some technical terms have whimsical historical origins. It also underscores the importance of documentation and thorough verification when diagnosing system failures.