来自工程学

编辑

用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]