Did you know the first computer bug was an actual insect? 🐛 In 1947, engineers discovered a real moth trapped inside Harvard's Mark II computer, causing it to malfunction. They taped the moth into their logbook and wrote, "First actual case of a bug being found."
But the term "bug" didn't originate with computers. Thomas Edison used it as early as 1878 to describe glitches in his telephone. The 1947 engineers were actually making a clever joke—and it stuck forever.
Today, every programmer uses the word "bug" for errors and "debugging" for fixing them. All thanks to one moth and one very good joke. 😄