this post was submitted on 13 Oct 2025
21 points (100.0% liked)
programming
293 readers
1 users here now
-
Post about programming, interesting repos, learning to program, etc. Let's try to keep free software posts in the c/libre comm unless the post is about the programming/is to the repo.
-
Do not doxx yourself by posting a repo that is yours and in any way leads to your personally identifying information. Use reports if necessary to alert mods to a potential doxxing.
-
Be kind, keep struggle sessions focused on the topic of programming.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Python does have a typing system, it's very strictly typed, that's just hidden from you by default at runtime unless you explicitly inspect the type. Otherwise it's all duck typed which can be useful when you're dealing with data pipelines and don't really care about strict typing.
There's also the type hinting system, which can be irritating since it's essentially thrown away at runtime (technically, you can still access type annotations if you inspect signatures).
I treat that as more of a static check on my code, you can really quickly change something then follow the linter down the chain resolving all the type conflicts.
Hell I make the TypedDict an integral part of my code since it's just a regular python dictionary at runtime, but tells you the expected keys and types while in an IDE