Chapter 17. Removing Bugs

A bug is a programming error that causes a program to act erratically, produce incorrect results, or crash. The term buggy refers to programs that are fraught with such errors and are, therefore, unreliable and frustrating for users. This hour gives you some specific strategies that will help you reduce the number of bugs in your code, help you find bugs more quickly, and make it easier for you to extend your code without rewriting testing code from scratch a second time.

Generally, finding bugs is intractable only if comprehending the code is an intractable solution. This hour helps you write better code that is less likely to have bugs—and the bugs you do have will be easier to find. In this hour, you will learn about: ...

Get Sams Teach Yourself Microsoft now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.