3 ms·
I know others who share the same opinion as you, so I can relate. That being said, the Any type would be there in any case - this is not JVM specific. "null" i
by valenterry 5y ago
I know others who share the same opinion as you, so I can relate.
That being said, the Any type would be there in any case - this is not JVM specific. "null" is, but I think it's not too much of a big deal with Java 3's Union-types, see: https://dotty.epfl.ch/docs/reference/other-new-features/explicit-nulls.html https://dotty.epfl.ch/docs/reference/other-new-features/expl...
The only problem is that if you now use native Java libraries, you'll be confronted with everything being explicitly nullable (no runtime error problems though). But that's a small price to pay for having access to this huge ecosystem.