Type Annotations in Python 3 - Whats, Whys & Wows!
Offered By: EuroPython Conference via YouTube
Course Description
Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore type annotations in Python 3 through this EuroPython 2017 conference talk. Discover the history, motivation, and basic syntax of type hints, and learn how they can enhance code security and functionality without affecting runtime behavior. Delve into popular libraries like mypy for code analysis, and gain insights on building custom extensions using the type hint system. Examine real-world examples, including a comparison of different approaches and an exploration of contracts in Python. Walk away with a solid understanding of type hints and their potential applications in your Python projects.
Syllabus
Intro
Outline
Motivation: When We Discover Bugs
The Python Way: Gradual Typing
History of Type Hints in Python
Annotation Syntax in Python
Architecture of Type Hinting in Python
Example Code Base: Flor
A Test Script
Adding Type Hints
I broke mypy!
Comparing Our Approaches
Pros & Cons
Top Python Repositories with Type Hints
Example: Contracts in Python
Taught by
EuroPython Conference
Related Courses
Systems & Network SecurityChaffey College via California Community Colleges System Software Security for Web Applications
Codio via Coursera Web Technologies and Security
Codio via Coursera Physical and Advanced Side-Channel Attacks
Graz University of Technology via edX Cache Side-Channel Attacks and Mitigations
Graz University of Technology via edX