DEV Community

Simon Foster
Simon Foster

Posted on • Originally published at funkysi1701.com on

Why do we call them bugs?

On my way home from the office I spotted this little chap. In my expert opinion it is a “bug”.

This particular “bug” is harmlessly sitting outside, but have you ever wondered why computer problems are often named after this little chap (and his friends)?

The first recorded bug report was in 1947 when Grace Hopper found a moth between the relays of a Harvard Mark II, this moth was then tapped in the log book as evidence.

Since then the process of removing bugs has been called “debugging”. However bugs had existed in electrical devices before this.

In the early days of telegraphy, there were two types of keyers. The older “manual” keyers which required the operator to code the dots and dashes. And the newer, semi-automatic keyers that would send a string of dots automatically. These semi-automatic keyers were called “bugs”. One of the most common brands of these keyers, the Vibroplex, used a graphic of a beetle.

Luckily the bugs I deal with don’t have legs or wings and are just errors in computer code. When I debug code I need to look at the inner workings of the code, looking for problems, most often it is a typo or piece of logic that doesn’t match up. But the relationship between computer bugs and living bugs does continue, the bug tracking software bugzilla uses a cartoon bug as its logo.

Top comments (0)