luhan The term “bug” in coding comes from a real, literal bug! In 1947, a moth got stuck in a computer at Harvard causing a malfunction. Grace Hopper, a pioneer in computer science, found the moth and documented it as the first “bug” found in a machine.