Win a copy of JDBC Workbook this week in the JDBC and Relational Databases forum
or A Day in Code in the A Day in Code forum!
  • 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 ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

Head First Kotlin: java to kotlin

Ranch Hand
Posts: 42
  • 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.
Posts: 105
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.

brevity is the soul of wit - shakepeare. Tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic