Grace Hopper invented the first compiler and coined the term 'debugging' after finding an actual moth in a relay

Did Grace Hopper really find a moth causing computer errors?

Image: Public domain, via Wikimedia Commons

Grace Hopper invented the first compiler and coined the term 'debugging' after finding an actual moth in a relay

Did Grace Hopper really find a moth causing computer errors?

Imagine you're trying to fix a toaster that won't work. You open it up and find a tiny bug stuck in the wiring, causing the problem.

Grace Hopper discovered a bug in a computer, which led to the term 'debugging'. The bug was actually a moth causing issues in the machine.

Example

Just like finding and removing the moth from the toaster's wiring fixed the issue, removing the bug in the computer fixed the error.

Remember this

Grace Hopper's discovery of a physical bug in a computer led to the term 'debugging'.

Related concepts

Swipe through 100 ML concepts daily

Open Pocket Polymath