Debugging Your Programs
In the professional world of software, you’ll actually spend more time modifying existing programs than you ever will creating new ones. When writing new programs or editing existing ones, it doesn’t matter how much experience or education you might have because even the best programmers can make mistakes. In fact, you can expect that you will make mistakes no matter how careful you may be. Once you accept this inevitable fact of programming, you can learn how to find and fix your mistakes.
In the world of computers, mistakes are commonly called “bugs,” which gets its name from an early computer that used physical switches to work. One day the computer failed and when technicians opened the computer, they ...