Hacker News new | ask | show | jobs
by romwell 2958 days ago
While there are many great reasons to learn languages like Scala and Kotlin, "Java is old" is not the right one (for one, it's false).

The functional programming elements in Java 8 (<4 years old) do make it a new language. I've been keeping up with Java since V1.4, and I felt like Java 5 was the update that made Java a modern language, but Java 8 brought a paradigm shift (if you felt like changing your style).

And in any way, the title is misleading. It should have been "Kotlin: here is why we think it's better than Java 5" - because that's the actual content of the article.

I like learning about new languages, but I wish the article had more. For instance, it doesn't mention functional programming paradigms (the new thing in Java 8), even though Kotlin does have them, e.g.[1]. That's one way to improve the article beyond the title.

[1] https://medium.freecodecamp.org/my-favorite-examples-of-func...

1 comments

Right, the same goes for C#. And even ignoring all the new (functional) elements it's still really dumb to say that you shouldn't learn something because it's "old".

By the time half of the current crop of new languages have died Java and C# will still be in use at large scale.