by tmstieff · 9y ago · 0 comments
That's what I mean—Java's type system is verbose and clumsy, because it doesn't bother trying to figure out things it could figure out, forcing the programmer to be redundant and repeat themselves all over the place. The fact that it's 2 separate operations to the compiler shouldn't dictate anything about the language.
This makes operations like this intuitive:
Animal results = new Dog("Lassie");