Skip to main content

Story of Bug and Debug in Computer Programming

While reading the The Innovators - How a Group of Hackers, Geniuses and Geeks Created the Digital Revolution, Chapter 3 deals with the History of Programming.

Most of the programmers find the word "bug" dreadful - as it means the software needs to be reprogrammed as it is not meeting the requirements.

Here's the story of how the term "bug" made its way into Programming.

A Little Background:

One of the initial programmers in the history of Computer Programming was Grace Hopper.

Hopper worked on Mark - I (A Computing Machine) at Harvard University, and later on Mark - II.

She was writing programs for the computing machines and also perfected the practice of subroutines, which is norm now in computer programming. Those were the days when new instructions were submitted via punched paper tape.

The Story of Bug:

Walter Isaacson writes:

In addition, her [Hopper's] crew helped to popularize the terms bug and debugging. The Mark II version of the Harvard Computer was in a building without window screens. One night the machine conked out, and the crew began looking for the problem. They found a moth with a wingspan of four inches that had gotten smashed in one of the electromechanical relays. It was retrieved and pasted into the log book with Scotch tape. "Panel F (moth) in relay," the entry noted. "First actual case of bug being found." From then on, they referred to ferreting out glitches as "debugging the machine."

Comments

Popular posts from this blog

We Have Lost Touch With Humanity

I was reading Robin Sharma's - "Who Will Cry When You Die?" . Love reading the book because I can start reading from any page. And each small lesson of these little book provides food for thought. I read this book whenever I'm short of time, but want to read. It is great. A small excerpt from the very first lesson of the book: We can fire a missile across the world with pinpoint accuracy, but we have trouble keeping a date with our children to go to the library. We have e-mail, fax machines and digital phones so that we can stay connected and yet we live in a time where human beings have never been less connected. We have lost touch with our humanity. We have lost touch with our purpose. We have lost sight of the things that matter the most. Isn't it worth pondering? We're busy checking our phones and emails every 5 minutes but we forget to check our purpose, our goals and our family members. We continuously try to refresh our news feed on Facebook

Updates - 8

Updates - 7 can be found here Winter has approached. And as usual, I'm motivated to remain fit. Hope this time the motivation remains throughout the year. Have started running. However, it's a different story that I'm running less and walking more. But the important thing is, the needle is moving. Apart from running, have also started doing a few stretching and upper-body exercises . My initial goal is to complete 5 km run. Became member of Central Library, Gandhinagar and read 2-3 books namely, 1. The Palace of Illusions 2. Curfewed Night and currently reading Akoopar (Gujarati). In between I also read Chetan Bhagat's The Girl in Room 105 Rudraraj and Rivanshi are not here in Gandhinagar. So I can engage myself in Running and Reading. Lets see what happens once they are here.  Eagerly waiting for this years' Ahmedabad National Book Fair. This time it's in November (winter season) rather than May (Summer season). Reason: To reduce carbon footprint a

10 Things To Do When Your Vehicle Breaks Down

I'd been for a doctor's consultation in Ahmedabad today. While I was going to Ahmedabad, it wasn't raining. While returning back to Gandhinagar, it started raining. It was pitch dark and the visibility was less due to the heavy downpour. And then a bad idea came to my mind. What if my vehicle breaks down at this moment ? So I got my topic for 10 ideas . Here are 10 things to do when your vehicle breaks down: Enjoy the rain and forget about going home. Park your vehicle at some safe place and ask for a lift/free ride. Call a taxi. Call a friend. Walk up to your home. Stay at the same place the whole night and observe the nature and the surroundings. A bad idea but it would definitely be an adventure. ;-) Try to repair the vehicle.  Call a mechanic. Stop a truck and carry it to your place. Leave your vehicle and buy a new one. Very bad idea ;-)