3 ms·
The problem with java's type system is not that you are not enough of a type theorist, but that the people who designed it weren't. It is exteremly weak, incons
by fhars 17y ago
The problem with java's type system is not that you are not enough of a type theorist, but that the people who designed it weren't. It is exteremly weak, inconsistent and confuses some fundamental concepts (like the difference between inheritance and subtyping). Many weirdnesses in generics and complexities in making modern languages interop with java on the JVM are for example just workarounds for the fundamentally broken semantics of java arrays (covariant, can you believe that?)