4 ms·
Python can't become static with optional invokedynamic; static typing has to be built from the start. For example, the % operator can't be typed. Optional typin
by obtu 15y ago
Python can't become static with optional invokedynamic; static typing has to be built from the start. For example, the % operator can't be typed. Optional typing I've seen in Perl, and again it seems like boilerplate for no benefit.
- chromatic 15y agoOptional typing I've seen in Perl, and again it seems like boilerplate for no benefit. One benefit is additional optimizations. Many good Lisp implementations take advantage of this.
- exDM69 15y agoI was thinking more about having optional type annotations to facilitate better optimization in (JIT) compiler based implementations of Python, like PyPy, Jython, IronPython or others. Type annotations may also be useful for doing some static sanity checking.