{"id":1276,"date":"2025-05-30T10:17:38","date_gmt":"2025-05-30T10:17:38","guid":{"rendered":"https:\/\/blogs.kcl.ac.uk\/proged\/?p=1276"},"modified":"2025-05-30T10:17:38","modified_gmt":"2025-05-30T10:17:38","slug":"why-is-a-bug-called-a-bug","status":"publish","type":"post","link":"https:\/\/blogs.kcl.ac.uk\/proged\/2025\/05\/30\/why-is-a-bug-called-a-bug\/","title":{"rendered":"Why is a bug called a bug?"},"content":{"rendered":"<blockquote><p>This post is extracted from a side note in the book <strong><a href=\"https:\/\/www.amazon.co.uk\/Objects-First-Java-Practical-Introduction-dp-1292463597\/dp\/1292463597\/ref=dp_ob_title_bk\">Objects First with Java, 7th edition<\/a><\/strong>.<\/p>\n<p>&nbsp;<\/p><\/blockquote>\n<div id=\"attachment_1279\" style=\"width: 594px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1279\" class=\"size-large wp-image-1279\" src=\"http:\/\/blogs.kcl.ac.uk\/proged\/files\/2025\/05\/First-bug-2-1024x675.png\" alt=\"Image of what is known as &quot;First computer bug&quot;: a moth taped to a notebook with sticky tape\" width=\"584\" height=\"385\" srcset=\"https:\/\/blogs.kcl.ac.uk\/proged\/files\/2025\/05\/First-bug-2-1024x675.png 1024w, https:\/\/blogs.kcl.ac.uk\/proged\/files\/2025\/05\/First-bug-2-200x132.png 200w, https:\/\/blogs.kcl.ac.uk\/proged\/files\/2025\/05\/First-bug-2-100x66.png 100w, https:\/\/blogs.kcl.ac.uk\/proged\/files\/2025\/05\/First-bug-2-768x506.png 768w, https:\/\/blogs.kcl.ac.uk\/proged\/files\/2025\/05\/First-bug-2-455x300.png 455w, https:\/\/blogs.kcl.ac.uk\/proged\/files\/2025\/05\/First-bug-2.png 1200w\" sizes=\"auto, (max-width: 584px) 100vw, 584px\" \/><p id=\"caption-attachment-1279\" class=\"wp-caption-text\">The &#8220;First computer bug&#8221;. Source: Smithsonian National Museum of American History<\/p><\/div>\n<p class=\"p1\">Errors in computer programs are commonly known as \u201cbugs.\u201d Thus, programs that help in the removal of errors are known as \u201cdebuggers.\u201d<\/p>\n<p class=\"p1\">The origin of the term is interesting, and often mis-attributed. There is a famous case of what is often referred to as \u201cthe first computer bug\u201d\u2014a real bug (a moth, in fact)\u2014which was found inside the Mark II computer by Grace Murray Hopper, an early computing pioneer, in 1945. A logbook still exists in the National Museum of American History of the Smithsonian Institute that shows an entry with this moth taped into the book and the remark \u201cFirst actual case of bug being found\u201d (see the image above).<\/p>\n<p class=\"p1\">\u00adLong before this, however, Thomas Edison referred to faults in his inventions as \u201cbugs\u201d. The story goes that this, too, goes back to an actual insect crawling around in his electronics. Whether this story is strictly true or not is unknown. However, it is documented that he regularly referred to faults in his machines as \u201cbugs\u201d in his writings from the 1870s onwards, and probably coined the term.<\/p>\n<div id=\"attachment_1280\" style=\"width: 594px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1280\" class=\"size-large wp-image-1280\" src=\"http:\/\/blogs.kcl.ac.uk\/proged\/files\/2025\/05\/Edison_and_phonograph_edit1-812x1024.jpg\" alt=\"Picture of Thomas Edison  sitting, with a phonograph\" width=\"584\" height=\"736\" srcset=\"https:\/\/blogs.kcl.ac.uk\/proged\/files\/2025\/05\/Edison_and_phonograph_edit1-812x1024.jpg 812w, https:\/\/blogs.kcl.ac.uk\/proged\/files\/2025\/05\/Edison_and_phonograph_edit1-159x200.jpg 159w, https:\/\/blogs.kcl.ac.uk\/proged\/files\/2025\/05\/Edison_and_phonograph_edit1-79x100.jpg 79w, https:\/\/blogs.kcl.ac.uk\/proged\/files\/2025\/05\/Edison_and_phonograph_edit1-768x968.jpg 768w, https:\/\/blogs.kcl.ac.uk\/proged\/files\/2025\/05\/Edison_and_phonograph_edit1-238x300.jpg 238w, https:\/\/blogs.kcl.ac.uk\/proged\/files\/2025\/05\/Edison_and_phonograph_edit1.jpg 960w\" sizes=\"auto, (max-width: 584px) 100vw, 584px\" \/><p id=\"caption-attachment-1280\" class=\"wp-caption-text\">Thomas Edison with a phonograph. Source: Wikimedia, public domain<\/p><\/div>\n<p class=\"p1\">\n","protected":false},"excerpt":{"rendered":"<p>This post is extracted from a side note in the book Objects First with Java, 7th edition. &nbsp; Errors in computer programs are commonly known as \u201cbugs.\u201d Thus, programs that help in the removal of errors are known as \u201cdebuggers.\u201d &hellip; <a href=\"https:\/\/blogs.kcl.ac.uk\/proged\/2025\/05\/30\/why-is-a-bug-called-a-bug\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":179,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,8],"tags":[],"class_list":["post-1276","post","type-post","status-publish","format-standard","hentry","category-miscellaneous","category-programming"],"_links":{"self":[{"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/posts\/1276","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/users\/179"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/comments?post=1276"}],"version-history":[{"count":2,"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/posts\/1276\/revisions"}],"predecessor-version":[{"id":1281,"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/posts\/1276\/revisions\/1281"}],"wp:attachment":[{"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/media?parent=1276"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/categories?post=1276"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/tags?post=1276"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}