來自工程學
编辑
用bug來指工程錯誤這種用法大約出現在1870年代,早在電腦出現前就存在。目前最早找到的證據是愛迪生在1878年的信[2]
It has been just so in all of my inventions. The first step is an intuition, and comes with a burst, then difficulties arise—this thing gives out and [it is] then that "Bugs"—as such little faults and difficulties are called—show themselves and months of intense watching, study and labor are requisite before commercial success or failure is certainly reached.
中譯如下:
在我所有發明都如此。第一步是直覺,然後靈光一閃,然後出現困難——這事發生了,然後“bug”——這樣稱呼那些微小錯誤和困難——展現出來。在明確到達商業成功或失敗前必需數個月的密切關注、研究和勞動。
資訊工程與一般大眾所知的起源
编辑
1947年9月9日,葛麗絲·霍普(Grace Hopper)发现了第一个电脑bug。有一次Mark II突然宕機,整隊团队都搞不清电脑为何不能正常运作。经过大家深度挖掘,发现原来有飛蛾意外飛入一臺電腦引起故障(如圖所示)。团队很快排除错误,并在日誌本记录这事。也因此,人们逐渐开始用“bug”(原意“虫子”)来称呼计算机隐错。现在在华盛顿美国国家历史博物馆还可以看到这份遗稿。[3]