Kotlin Android likeish Kotlin JS


Dear Community, my question is not really smart, but if from Java Android I switch to Kotlin and I start to think in Kotlin( that is not difficult), I will be able also to do web development in JavaScript that can use Kotlin? Or this means: in the old times I studied Java, then I learned Android that with the time had a Java syntax, but was almost a different language in terms of steep learning curve from Java to Android. Will be the same thing from Kotlin to Javascript, namely I am going to use the syntax of Kotlin, but I have to go trough a learning curve that is proper of JS, is this correct?


Yes, this is correct. When compiled to JavaScript, Kotlin runs in the browser, and you need to be familiar with the details of the browser environment (including HTML, CSS and DOM) in order to be productive.


cool, thanks yole