2 ms·
Agree. Kotlin is pretty much Java 8 with Scala syntax. It's neat, but mostly useless. If Google wanted to stay conservative, they could just support Java 8, bu
by frowaway001 12y ago
Agree. Kotlin is pretty much Java 8 with Scala syntax. It's neat, but mostly useless.
If Google wanted to stay conservative, they could just support Java 8, but if they wanted something considerably superior ... well, Kotlin is not participating here.
But hey, Google sucks so much at programming languages (see Go and Dart) that I don't expect that they do anything that makes sense for developers.
- danieldk 12y agoAgree. Kotlin is pretty much Java 8 with Scala syntax. It's neat, but mostly useless. It does contain many features people have been asking for in Java for years, but that Java 8 does not provide, such as: properties, mixins, type inference, pattern matching, operator overloading, etc. Also, I assume that JetBrains would be open to other features that Google would like in a Java-replacement. At any rate, all JVM languages, including Scala are going to be limited by the VM and bytecode. So, you'll have to live with type erasure, without your own value types, etc.
- frowaway001 12y ago> Also, I assume that JetBrains would be open to other features > that Google would like in a Java-replacement. I could totally understand that, it would probably their last and only chance to get some users. I don't want to sound harsh, but their situations must be quite dire right now. The language is still stuck in some 0.x-land (unlike Ceylon), Java 8 shipped with most of their features already, they are unable to compete with better languages (like Scala) and the tooling and IDE situation looks pretty bad, too. > At any rate, all JVM languages, including Scala are going to be > limited by the VM and bytecode. So, you'll have to live with type > erasure, without your own value types, etc. Because having a VM with value types and working Generics is such an impossible feat that no one managed to implement it? I guess not. No one is preventing them from supporting a superset of the class file format which allows value types and better Generics.