4 ms·
Agreed about nullability. And Java will never fix it fully or I'll eat my hat. ... but, you have to be pretty damn good to win out over the native language of
by ragnese 6y ago
Agreed about nullability. And Java will never fix it fully or I'll eat my hat.
... but, you have to be pretty damn good to win out over the native language of a platform. And if it were just Kotlin today vs. Java 16, I think Kotlin is a much nicer language, but it doesn't really differentiate itself that much. Sure, it's syntax is much nicer, but you still basically have the same semantics as Java. You have classes; everything is a reference; no const/immutable data; no (good) general way to clone things; you have the same-ish type system with inheritance and interfaces, but no type classes; still have weird shit like sized numeric types with over/underflow; exceptions for error handling; etc.
At least Scala has monads and type classes, so you can say it actually has some expressability that Java truly doesn't. I'm not sure that Kotlin has that. Clojure is a totally different beast that really doesn't directly compete over Java devs, IMO. It just happens to use the JVM as a platform.
- roguas 6y agoYup, clojure people have no love for jvm. It's a source of libraries, period.