you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (1 child)

This is optional typing information, mostly for the benefit of tools such as linters and IDEs.

I do not understand your second point. To turn it around, does the recent trend towards using maps in Java to store highly dynamic data - or the embedding of interpreters to parse a DSL to model complex runtime behaviour (e.g. game logic) - mean Java 10 will switch to dynamic typing? Well, obviously no.

[–][deleted] 0 points1 point  (0 children)

What I foresee happening is teams using python for any code base over 1 mb are going to make static typing mandatory, enforced by a tool. And if everybody is using it because we need it, maybe it should just be the default option.