Nominal v.s. Structural sub typing in Python

Published: 19 March 2024
on channel: Coders Bring Change
814
46

If you have used Inheritance in Python, you have used nominal sub typing. But in Python there is another way to make subtypes and that is with structural sub typing. In this video you learn the difference and how to use a type checker to check type compatibility of your program.

C H A P T E R S
0:30 Run time type checking
1:30 Abstract base class
2:05 Static type checking with mypy
2:25 Nominal sub typing
3:20 Protocol class
4:14 Structural type checking

#structuralsubtype #nominalsubtype #python


On this page of the site you can watch the video online Nominal v.s. Structural sub typing in Python with a duration of hours minute second in good quality, which was uploaded by the user Coders Bring Change 19 March 2024, share the link with friends and acquaintances, this video has already been watched 814 times on youtube and it was liked by 46 viewers. Enjoy your viewing!