After doing a bit of #rustlang, coming back to #python I miss having a proper type system. So much validation code/tests I have to write, which would be done for me by the compiler. 😣

Mypy is nice but it's far from enough unfortunately.

Follow

@mathieu This has been my experience too. Wait, what do you mean I can't express JSON as a type? Yikes, that's the syntax for generics?!? I love a lot of things about Python, but mypy/typing is so clearly just a bolted on afterthought.

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!