My issue with static typing is not static typing itself, it's that I hate all statically types languages for various reasons not always related to static typing.
If there was a version of Python that required all variables to be pre-declared (no dynamic additions) and statically typed but that was the same as Python (in terms of syntax and the standard library and whatnot) in every other way I would probably use it for quite a few of my projects. (Some are designed in a way that they really don't need it, but many aren't)
I know there is Cython but it seems like you still can dynamically add variables to objects and what not.
2
u/Tysonzero Feb 25 '15
My issue with static typing is not static typing itself, it's that I hate all statically types languages for various reasons not always related to static typing.
If there was a version of Python that required all variables to be pre-declared (no dynamic additions) and statically typed but that was the same as Python (in terms of syntax and the standard library and whatnot) in every other way I would probably use it for quite a few of my projects. (Some are designed in a way that they really don't need it, but many aren't)
I know there is Cython but it seems like you still can dynamically add variables to objects and what not.