YoVDO

Type Annotations in Python 3 - Whats, Whys & Wows!

Offered By: EuroPython Conference via YouTube

Tags

EuroPython Courses Software Security Courses Type Annotations Courses Mypy Courses

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

Pattern-Oriented Software Architectures: Programming Mobile Services for Android Handheld Systems
Vanderbilt University via Coursera
Engineering Maintainable Android Apps
Vanderbilt University via Coursera
Software Design as an Element of the Software Development Lifecycle
University of Colorado System via Coursera
Secure Software Development
Pluralsight
Secure Software Concepts for CSSLPĀ®
Pluralsight