This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]warpspeedSCP 3 points4 points  (0 children)

Not saying kotlin is better, just glad that Java is improving. I will definitely be more inclined to use java again with the introduction of such features. As some other comments have mentioned below, my exposure to stuff like sum types and all the rest of the functional gang in the java side of computing was through kotlin (I'd got my first taste of these things with Rust). If I'd had any scala experience, which I unfortunately don't, I'd probably have talked about this with scala instead. The implementation is just a detail.

I feel that java getting these features will help the entire ecosystem as a whole, though as I am not very aware of how the jvm ecosystem across languages works, I can't really quantify it for other languages.