I would disagree with Kaidan here and maybe many o...
# getting-started
p
I would disagree with Kaidan here and maybe many others. I think Kotlin is not a good language to learn unless you have a decent understanding of Java. It really makes perfect sense if you know Java and liked Effective Java but some parts of the language make very little sense if taken out of context (of Java).
👍 7
j
I disagree with you.
n
@poohbar i like challenging point of views care to explain in details?
p
Sure, for example the concept of `equals`/`hashCode` is directly taken from Java and the Kotlin documentation just relies on people knowing how it works there.
Immutable collections are not truly immutable and are just a compile time facade on top of Java collections so if you don't understand Java collection then good luck.
Kotlin generics are derived from Java too.
Also, huge number of libraries that you are forced to use in Kotlin are written in Java and for Java. You have to understand Java to understand how they work.
I will believe one can be productive in Kotlin without any Java knowledge when I meet such person.
You also frequently interact with Java stdlib parts that just have extensions in Kotlin such as
<http://java.io|java.io>
I can compare learning Kotlin to learning Clojure (while not knowing Java) and I think in Clojure you would be much more successful.
n
ok makes sense thanks for the explanation