python Generics (intermediate) anthony explains #430
today we introduce another typing / mypy concept: generics! I show a few examples of how to write generic functions and generic classes intro to typing: • introduction to python typing + mypy (begi... Protocol: • structural subtyping in python with Protoc... playlist: • anthony explains ========== twitch: / anthonywritescode dicsord: / discord twitter: / codewithanthony github: https://github.com/asottile stream github: https://github.com/anthonywritescode I won't ask for subscriptions / likes / comments in videos but it really helps the channel. If you have any suggestions or things you'd like to see please comment below!

▶︎
babi+ast helped me not break sentry! (intermediate) anthony explains #431

▶︎
Generics are VITAL in typed Python

▶︎
NEW generic / alias syntax for python 3.12 (PEP 695) (intermediate) anthony explains #561

▶︎
Stop Overusing Classes in Python

▶︎
Learning the ropes: understanding Python generics — David Seddon

▶︎
what is a singleton? (and python patterns) (intermediate - advanced) anthony explains #188

▶︎
Python Typing Generics and Python 3.11 Variadic Generics

▶︎
python @decorators - (intermediate) anthony explains #002

▶︎
python TypeGuard (PEP 647) (intermediate) anthony explains #439

▶︎
Python 3.12 Generic Types Explained

▶︎
python lazy imports (PEP 810)

▶︎
8 things in Python you didn't realize are descriptors

▶︎
Learn These 3 GENUIS Python Features

▶︎
Covariance and Contravariance

▶︎
Stop Writing Classes Like This in Python

▶︎
Generics are awesome in Python

▶︎
python typing: TYPE_CHECKING (intermediate) anthony explains #312

▶︎
This is probably the biggest misconception about Python

▶︎
“typing” is getting deprecated in Python

▶︎
