TypeCheck - Effortless Runtime Type Checking
Offered By: Code Sync via YouTube
Course Description
Overview
Explore runtime type checking in Elixir with TypeCheck, a library that enhances existing types and specs, in this conference talk from ElixirConf EU 2022. Discover how to implement effortless runtime type checks, generate clear error messages, improve documentation, and create automated property-based 'spectests' for your Elixir projects. Learn about the benefits and potential drawbacks of runtime type checking, and gain insights into the complex metaprogramming that powers TypeCheck. Follow along as the speaker delves into the concept of typechecking, explains function contracts, demonstrates error message readability, and showcases advanced features. Conclude with a Q&A session to deepen your understanding of this powerful tool for improving code clarity, testability, and resilience in Elixir development.
Syllabus
00:00 - - Intro
02:32 - - What is Typechecking and What is a Type?
13:11 - - The Contract of a Function
21:24 - - How Readable are the Error Messages?
24:37 - - Advanced Features
31:55 - - Conclusion & QnA
Taught by
Code Sync
Related Courses
Learn to Program: Crafting Quality CodeUniversity of Toronto via Coursera 数据结构与算法 Data Structures and Algorithms
Peking University via Coursera 数据结构与算法第一部分 | Data Structures and Algorithms Part 1
Peking University via edX Software Construction in Java
Massachusetts Institute of Technology via edX Advanced Software Construction in Java
Massachusetts Institute of Technology via edX