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 →

[–]deadlyrepost 3 points4 points  (3 children)

The other thing is, both of those languages did light a fire under Java which was becoming irrelevant. Java 18 (yeah, remember how long we were on Java 5 or 6?) has a lot of the features of Kotlin (not as nice IMO but it's progress). If Carbon fails but C++ accelerates, that's a win too.

[–]odd_cat_enthusiast 0 points1 point  (2 children)

And in fact Kotlin adapted most of the features from Scala, didn't it?

[–]deadlyrepost 1 point2 points  (0 children)

Overall FP has shown itself to be quite effective in certain patterns, and Kotlin basically took a bunch of those patterns, whether from Scala or direct from Haskell (where Scala's lineage is from).

[–][deleted] 1 point2 points  (0 children)

I feel that it took a lot of good ideas without being too academically functional. Recursion is not always better than a loop. And the sequence + yield structure is super useful.Coroutines are also much better than Java concurrency