by ReflectedImage · 3y ago · 0 comments
Given that type hints are a new language feature in Python, please explain to me how these Python houses used static typing when type hints didn't exist?
I'm all ears.
They've existed since 2015… please explain me how 2015 is "new"?
No shame, but you are not the most qualified person to comment on typing.
Also python3 is from 2008, and it's effectively a different programming language.
I'll go further and tell you the most common reason for using static typing is to allow the codebase to be a monolith like it's still the 90s. You shouldn't be trying to build a monolith in a scripting language it's a recipe for disaster.
I'm a polyglot, I'm exactly the sort of person who should be commenting.
Does it surprise you that static typing is often a poor choice?
Static typing is something to be used when the performance of your code is important. I've done 40 Gbits/sec network traffic processing, certainly static typing is used for that.
Your standard business CRUD app? Usually dynamic is the better choice.