
#317 Most loved and most dreaded dev tools of 2022
Python Bytes
00:00
Type Hints for a Class in Python 310
Before Python 310, you had to do, like, from typing import type alias and have this weird syntax thing around it. It's a, but the after 310, you just sort of declare a thing and says like, post type,. And then you can use that as a type into other places. Number six is alias for type hints. I haven't been using this much, but I'm going to start using it more. The eighth and final one is to provide literals for variables.
Transcript
Play full episode