4 ms·
I was a Java developer like 5 years ago, and already forgot everything about it. Do I have to relearn Java in order to learn Kotlin?
by favadi 10y ago
I was a Java developer like 5 years ago, and already forgot everything about it. Do I have to relearn Java in order to learn Kotlin?
- norswap 10y agoAs Kotlin is more or less Java with some sugar thrown on top, yes. Even if you "learn Kotlin" on its own, you'll essentially have re-learned Java.
- favadi 10y agoThanks, so it is not the kind of language I can learn the basic for fun in a weekend.
- SNvD7vEJ 10y agoDepends on what you mean by "learning a lanuage". You can probably learn the syntax, and to build and run your application in a couple of days. Learning the "ecosystem" of Java I think is another matter. Installing the Eclipse-plugin which includes the Kotlin compiler, creating and running a "hello World" takes only a few minutes (I just did that).
- norswap 10y agoIt depends, what is your background? Java is a run-the-mill object oriented language. If you've used any OO language with dynamic dispatch, you're immediately set 90% of the way to fluency. The tricky part is the generic part of the type system, the part with the `? extends` and `? super` annotations.