• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Head First Kotlin: java to kotlin

 
Ranch Hand
Posts: 47
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 143
15
Android Python Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Farmers know to never drive a tractor near a honey locust tree. But a tiny ad is okay:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic