Duck Typing Is For The Birds
By Brad Hurley

This talk is intended to be an introduction to implementing static typing into your python code. I will present information on how to implement static typing into new and existing code bases. Talk about the reasons why someone would want to implement static types and why I was against it only one year ago.

Sunday 2:15 p.m.–2:45 p.m. in Barbie Tootle

In this presentation I would like to introduce implementing static typing to people who may not be familiar, and give reason for why static types can be valuable, and discuss how it can reduce the potential for bugs. I will briefly talk about the history that led to the current and future state of static type support within Python.

  • Code examples for implementing type checking for common scenarios
  • Auto-generating static type annotations with MonkeyType
  • Comparing mypy and Pyre for type checking
  • Questions and answers

Relavent PEPs:

PEP483 PEP484 PEP526

Libraries:

mypy Pyre MonkeyType

Brad Hurley

Brad Hurley is a software developer at IBM Watson Health in Cleveland Ohio. When Brad is not at his day job he enjoys spending time with his family, working on side projects, and drinking craft beer. Brad is currently enrolled in the masters of computer science at Georgia Tech.

Twitter
Sponsors