• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Head First Kotlin: java to kotlin

 
Ranch Hand
Posts: 38
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am a java developer, why do I need to learn kotlin?
Or You do not think, I should learn kotlin.
 
Author
Posts: 105
5
Android Python Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Carlos,

Thanks for your question. You don't need to! One of the great things about the JVM eco-system is what really matters are the byte codes that are generated, not the language that they were compiled.

However, there are many reasons why you might choose to learn Kotlin. We have both been Java developers for years, and Kotlin certainly has a much lighter feel to the syntax. Basically, there's a lot less boilerplate. Plus it has fancier type handling and improved generics (really quite advanced things like contravariancy of generic types). And we suspect you will really love coroutines. They are still very new (they were finalised just as we were finishing the book) but they give you more lightweight way of dealing with the kind of coding situations that would have previously required threads. And, there is the *huge* benefit that you compiled your code down into other formats, like JavaScript and native libraries.

D+D
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!