> use exactly the same language in all you stack
isn't this what people are doing with JavaScript?
isn't this what people are doing with JavaScript?
Kotlin could offer better performance and certainly offers strong type safety throughout the stack, which I at least certainly believe gives a better programming experience.
For example this compiles without warnings:
const foo: Promise<string|null> = Promise.resolve(null);
const bar: Promise<string> = foo;
bar.then((value) => value.toString()); // runtime null errorWhich is the same thing as in Java and plenty of other languages.
Although using the same language in different environments obviously feels a bit different.
Kotlin could run on all supported platforms and reuse Java libraries.
Which is even awesome for Microsoft to adopt LLVM.