News for hackers. Stuff that matters.
Re:Kotlin: A New Hope in a Java 6 Wasteland by pron on Monday September 28, 2015 @02:51PM (#10292224)
> It feels to me like a better Java, but still very limited compared to Scala. It stays very much in Java's paradigm.

You've basically summarized Kotlin's design goals. Java was designed to be a simple language for widespread use, hiding an extremely powerful runtime beneath it. The very first paragraph describing its design reads[1]:

Java is a blue collar language. It’s not PhD thesis material but a language for a job. Java feels very familiar to many different programmers because I had a very strong tendency to prefer things that had been used a lot over things that just sounded like a good idea.

So: 1/ not PhD thesis material, 2/ familiar, 3/ adopt tried-and-true solutions.

Scala's design is the exact opposite of each and every one of these goals, but Kotlin tries very much to follow them. As such, they are very different languages (even though they share many features) because they are guided by opposite philosophies, and are therefore meant for completely different audiences. Kotlin aims to be exactly what Java would have been if it had been designed today; Scala aims to be something completely different.

[1]: http://www.win.tue.nl/~evink/education/avp/pdf/feel-of-java....

There are no comments on this comment yet.