Ask HN: Learning Kotlin if you don't know Java
1–9 of 9 posts
Re: Ask HN: Learning Kotlin if you don't know Java
#2Re: Ask HN: Learning Kotlin if you don't know Java
#3Re: Ask HN: Learning Kotlin if you don't know Java
#4Re: Ask HN: Learning Kotlin if you don't know Java
#5More concretely, what you'll find is that a lot of tutorials and books will likely assume some familiarity with Java. Not necessarily to a point that you can't learn, but more in regards to what they emphasise. For example, they'll likely talk about nullability and Kotlin's approach to it. This makes a lot of sense if you've come from Java but maybe less if you've come from a language that doesn't have nulls.
Having said that, I would expect that, although learning Kotlin should be fine, once you start developing in it, you'll soon find that you'll need to have some familiarity with Java. The reason is that a big selling point of Kotlin is its easy integration with Java. As a consequence, you'll probably find that the libraries you'll want, beyond the basics, won't have been ported to Kotlin. As there's not much call for this.
Unfortunately, I can't recommend a book for non-Java developers as I don't know any Kotlin developers who weren't Java developers first!
Re: Ask HN: Learning Kotlin if you don't know Java
#6Kotlin is a modern language comparable to swift, rust, Scala or ocaml. Learning it is workthile as you’ll learn modern language concepts.
Re: Ask HN: Learning Kotlin if you don't know Java
#7What language are you coming from? Kotlin is a modern language comparable to swift, rust, Scala or ocaml. Learning it is workthile as you’ll learn modern language concepts.
Re: Ask HN: Learning Kotlin if you don't know Java
#8What language are you coming from? Kotlin is a modern language comparable to swift, rust, Scala or ocaml. Learning it is workthile as you’ll learn modern language concepts.
I'm coming from Python.
You’ll have to bite the bullet eventually and Kotlin is a nice inroad.
Re: Ask HN: Learning Kotlin if you don't know Java
#9Earlier quoted context omitted.
I'm coming from Python.
Might be tricky at first but embrace the type system, it’s a good tool for larger projects. You’ll have to bite the bullet eventually and Kotlin is a nice inroad.