Debugging and defensive programming

Jun 28, 2022 10:00 AM
Online (Zoom)


  • Define a bug
  • Review best practices for reading, writing, and styling code
  • Interpret function documentation
  • Distinguish between errors, warnings, and messages
  • Introduce traceback() and explain how to read it
  • Identify and practice methods for error handling and recovery

Before class

Class materials

What you need to do after class

Benjamin Soltoff
Benjamin Soltoff
Assistant Senior Instructional Professor in Computational Social Science & the College