Sciware

Sciware: Types

America/New_York
3rd Floor Classroom/3-Flatiron Institute (162 5th Avenue)

3rd Floor Classroom/3-Flatiron Institute

162 5th Avenue

40
Description

Data Typing and types for better code

If you think about data types, you probably think about things like float32 versus int64, but types can do more than represent numbers. Thinking about types is a powerful way to reason about code and algorithms. They help you write simpler code, straight-forward tests, and cleaner documentation, even in languages that don’t have strong type systems. In this session, we will provide a gentle introduction to types, founded on basic mathematical concepts. We will also talk specifically about adding types to Python code and using mypy to help catch errors.