4 ms·
Adding features doesn’t mean breaking backwards compatibility, I can only think of modules since Java 8 that can maybe be. What Kotlin features are possible be
by zaphirplane 4y ago
Adding features doesn’t mean breaking backwards compatibility, I can only think of modules since Java 8 that can maybe be.
What Kotlin features are possible because of that freedom ?
Genetics can be an example I can’t say it’s impossible for Java to add in out refied keywords
- mike_hearn 4y agoThe obvious one is putting types on the right, which is a useful syntax for more pervasive type inference.
- kaba0 4y agoI don’t know, in theory replacing types with ‘var’ would work just as well for Java, the advantage (or more like elegance) of ident: type syntax comes from a parser perspective.