In this episode, Dr. Foland discusses his best tips for troubleshooting faulty Python code while continuing work on the Hangman Python game. In particular, two types of bugs are discussed:
- Code that has errors preventing it from running.
- Code that will run, but does not behave as expected.
Check out this episode to learn some strategies on how to address both of these bug types.
Quote of the Episode:
“When debugging, novices insert corrective code; experts remove defective code.”– Richard Pattis