• 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
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

Java vs. Kotlin for an Android application?  RSS feed

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is your view on Java vs. Kotlin for an Android application?
 
Sheriff
Posts: 12816
211
Android Debian Eclipse IDE IntelliJ IDE Java Linux Mac Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Seems to me that Kotlin is fast becoming, if not already, the preferred language for Android development. It certainly has some nice language features. I'm actively learning it myself currently.

There are many popular Android apps out there that are written in Kotlin: https://developer.android.com/kotlin/
 
Saloon Keeper
Posts: 5132
135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The beauty is that it's not an either/or thing since it's possible to use both in the same app. Kotlin needs less code, making some kinds of classes (like data and event classes) trivial to create since much less boilerplate is required. Moving those from Java to Kotlin is an obvious approach to Kotlin-ize Android apps - I've started one of my apps on that route, mostly as learning exercise, and have been satisfied with the result.
 
My, my, aren't you a big fella. Here, have a tiny ad:
Programmatically Create PDF Using Free Spire.PDF with Java
https://coderanch.com/wiki/703735/Programmatically-Create-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!