3 ms·
To even have "static typing" in Python, you need type hints. Your example with using mypy is basically an optional static analysis step before running the code.
by wheelerof4te 5y ago
To even have "static typing" in Python, you need type hints. Your example with using mypy is basically an optional static analysis step before running the code.
What I am getting at is this: everything is converging towards new, statically typed Python. "Optional" features are no more optional when majority is pushed towards "professional developing using type hints".
"I'm not sure what you mean by 'tracking the changes'--Could you elaborate on that?"
I meant that the language has accumulated too many features as of late. So it's hard to keep track of them, regardless of typing changes.
"There's also the obvious comparison to Typescript, which is widely heralded as a massive improvement to Javascript"
Please, Javascript is not Python. If Microsoft wants to mess with Python, at least let them fork it and call it differently.
"Overall, your points read more like resisting change for the sake of resisting change than substantive issues with the system."
There is a difference between ressisting any change, and ressisting a harmful change. I consider the current trends around changing Python harmful.
- dragonwriter 5y ago> Please, Javascript is not Python. If Microsoft wants to mess with Python, at least let them fork it and call it differently. Microsoft did not make the decision for Python to support type hints and thereby prevent mypy from having to be its own language. GvR did when he was still BDFL.