Debugging and defensive programming

Oct 26, 2021 9:30 AM
Room 295, 1155 E 60th St


  • 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