What Are Bugs?
Bugs are problems with code, and the process of tracking down these bugs and destroying them is called debugging. But why such a strange analogy?
Well, in reality, no one really knows, but the term's origin has been wrongly attributed to the mid-40s pioneer programmer Grace Hopper. In 1944, Grace Hopper, a young Naval Reserve officer (she later became Admiral Hopper), was working on the Mark I computer at Harvard as one of the first people to write computer programs for it. While she was working with the later Mark II, a technician is said to have pulled a moth from between two electrical relays in the computer, the “bug” that was keeping the program from running. This moth was apparently kept on display by the Navy for many years ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access