Try Something Crazy
As you find bugs in your program through manual testing, you can find and fix the problems in your code and then run the program again to verify that your changes fixed the bug. Sometimes you will make a change, run your program, and find nothing different, even though your change should have fixed the bug. You then go back to your code and make some other changes, and you run the program again. Your changes still don’t seem to have any effect. This situation has happened to me several times, and it can be frustrating. I recommend doing something crazy. Delete the entire file (after creating a backup), or write some code that you know will cause an error. Then run your program again. If your latest, crazy changes seem to have ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access