Python基础 · free preview

Debugging

Debug code containing an error systematically. Identify ways of making code less error-prone and more easily tested.

1. Overview

Overview

2. Know What It's Supposed to Do

Know What It's Supposed to Do

3. Make It Fail Every Time

Make It Fail Every Time

4. Make It Fail Fast

Make It Fail Fast

5. Change One Thing at a Time, For a Reason

Change One Thing at a Time, For a Reason

6. Keep Track of What You've Done

Keep Track of What You've Done

7. Version Control Revisited

Version Control Revisited

8. Be Humble

Be Humble

9. Debug With a Neighbor

Debug With a Neighbor

10. Not Supposed to be the Same

Not Supposed to be the Same

Practice this interactively

Free account · instant grading · spaced review that schedules itself.

Start this course for free