Kotlin is a great language, I hope it will be fully adopted by the Java developers within the next years.
Also, I think Typescript is another language that was developed in the same way as Kotlin: any JS code (from the old ES3 to the ESNext) is a valid TS code. Adding definitions to the previous libraries such as loadash and jQuery was extremely easy.
Indeed it is. That is my hope as well, actually, 😅 What do you think might stand in the way of this happening?
Also, TS has the problem that most JS libraries won’t work until adapted for TS, which is super unfortunate :(
Well, I don't know if some codebases would have problem with Kotlin, I'm talking about Java 5 or older code. In those cases, some refractory will be needed.
I've read something about it, it is necessary a gradual migration from JS code to TS code. It is not obligatory but it's needed if developers want to use types.
Of course, such old code will need to be upgraded to recent version of Java anyways.
I did recently a migration from JS to TS, and it is still quite painful. You have to hunt a lot of TS config options to make them just right so that JS + TS can work together and not get into any 'import' errors.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.