Debugging and defensive programming


Date
Sep 26, 2022 12:25 PM
Location
Rockefeller Hall 203

Overview

  • 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