Saturday, February 6, 2010

Random Thoughts of the Month

Debug!


Everyone knows that debugging is twice as hard as writing a program in the first place. So if you are as clever as you can be when you write it, how will you ever debug it? Sometimes, it pays to stay in bed or in the Internet cafe, rather than spending the rest of the week debugging.

In computers, debugging is the process of locating and fixing or bypassing bugs (errors) in computer program code or the engineering of a hardware device. To debug a program or hardware device is to start with a problem, isolate the source of the problem, and then fix it. A user of a program that does not know how to fix the problem may learn enough about the problem to be able to avoid it until it is permanently fixed. When someone says they've debugged a program or "worked the bugs out" of a program, they imply that they fixed it so that the bugs no longer exist.

I am a student in Southwestern University taking up Bachelor of Science in Information Technology. Having this course is not that easy because it needs a lot of hard work, focus and analysis in dealing with the program codes. For me analyzing complexity is the essence in a computer programming.

Same goes with life. Human beings are not perfect. We are not 100% sure about what’s in store for us; we are not sure about what will happen next, today, tomorrow or in the other future. We cannot manipulate things and we must admit that things don’t always go our way.

But one thing is for sure, we can’t be perfect but we can debug it. A good programmer is someone who always looks both ways before crossing a one-way street. In my major subjects, I learned that a good code has its own best documentation. As you are about to add a comment to your program code, ask yourself, "How can I improve the code so that this comment isn't needed?" Always ask yourself of what you have done and what you must do.

In computers, debugging is the process of locating and fixing or bypassing bugs (errors) in computer program code or the engineering of a hardware device. To debug a program or hardware device is to start with a problem, isolate the source of the problem, and then fix it. A user of a program that does not know how to fix the problem may learn enough about the problem to be able to avoid it until it is permanently fixed. When someone says they've debugged a program or "worked the bugs out" of a program, they imply that they fixed it so that the bugs no longer exist.


~Reymart~

No comments:

Post a Comment