Explore full stack type safety in this 27-minute EuroPython 2020 conference talk by Szymon Pyżalski. Discover technologies and approaches to enforce consistency across multiple layers of web projects, focusing on the contract between frontend and backend. Learn about REST/Swagger and GraphQL implementations, comparing backend-first, spec-driven, and TDD approaches. Through a simple web application demonstration, understand how to detect contract breaches during CI development. Gain insights into weak vs. strong typing, static vs. dynamic typing, strict vs. loose typing, duck typing, protocols, free vs. fixed attributes, undefined values, and annotations. Basic Django and JavaScript knowledge is required, with some TypeScript and ReactJS familiarity beneficial.
Overview
Syllabus
Intro
Full Stack Type Safety
Problems
Weak vs Strong
Static vs Dynamic
Strict vs Loose
Duck Typing
Protocol
Dynamic typing
Free vs fixed attributes
Undefined values
annotations
conclusion
Taught by
EuroPython Conference