Hacker News new | ask | show | jobs
by mataniko 3063 days ago
Is your goal building an Android application or learning a new language?

Instead of asking "Should I use Kotlin or Java to create an Android application?" ask yourself "Do I want to create an Android application using Kotlin or Java?"

You're going to get mixed answers from external forces because this is a mostly subjective question. People who used Java for 10 years will obviously recommend one over the other, while early Kotlin adopters will praise their own choice.

The biggest concern when choosing a language should be "Can I achieve the same results?" in this case is a yes, because you can always use both in the same project if you need to dive deep into some Android API.

Put 10-15 minutes into a simple Hello World in each one, and see which one is more fun and engaging for you to learn.

1 comments

Good advice, thanks. I suppose the goal is to code an Android application but avoid (re)learning Java. I guess I was looking more for validation that this is possible without major headaches.