by raverbashing · 10y ago · 0 comments
Extremely frustrated by this decision and even though the multiple denials that it won't become a statically typed language it's clear that idea has changed
And "optional" is a misnomer unless you only ever touch your own code. Programming is generally a social activity, so for most of us, "optional" means just means "inconsistently required".
I don't have a philosophical objection to typing, but I'm yet to see a syntax that won't muddy Python's.
Optionally means that it's not required or mandatory.
You don't need to use it if you don't want to. If you're working on a project and the project follows a style guide then you follow the style guide, but nothing forces your bosses to require it. The code will run anyway.
People will start using and it will become mandatory at some point
"Dynamically typed Python variables considered harmful"
It seems it's time to abandon Erlang since static typing fundamentalists seem to be getting hold of it, with its typespecs and Dialyzer.
Oh wait, it's still dynamically typed.
And I'm all for Pylint, it also proves type hints are not needed for this kind of type analysis
No typespecs feels like crippling the tool, except it was designed to be as useful as possible for old code without modifying it. It just shows how useful the typespecs are.