This is Really Surprising When I came to Know about

Why Programming errors are called bugs ? :thinking:

3 Likes

Why are they call so? Anyone has any ideas? :beetle: :lady_beetle: :cricket: :spider_web:

Maybe because bugs are scary and so are errors while running a program :joy: :face_with_open_eyes_and_hand_over_mouth:

2 Likes

The word “bug” seems to have caught on with computers because of an incident related to an insect in an early computer.

Mark II was an early electromechanical computer used in the US Navy. On September 9, 1947, when the operators were using the computer to perform calculations, it gave the wrong results. To find out what was going wrong, they opened the computer and looked inside (remember, this was in the “good old days”, and an electro-mechanical computer was in use). And there they found a moth stuck inside the computer, which had caused the malfunction!

The operators promptly removed it and pinned it on the log report, and wrote the following description, “First actual case of bug being found” (see image). They also coined the word “debug”, which meant taking the bug out to get the computer working. Perhaps this might have prompted the well-known computer scientist Edsger W Dijkstra to say (in a lighter vein), “If debugging is the process of removing bugs, then programming must be the process of putting them in.”

3 Likes

this is information is helpful

2 Likes