Navil Almazi wrote:Welcome Dawn & David Griffiths.
How much will Head First Android help if I want to switch to Kotlin in future? Should I learn Kotlin along with Java side by side as a newbie android learner?
We thought long and hard about switching the code samples to Kotlin, but in the end we've stuck with Java because it is still the most popular language. Because we focus on the underlying concepts of Android, the things you learn in the book will be valid, whether you're writing your app in Kotlin or Java. We are looking at publishing Kotlin versions of the all of the examples apps later in the year on Github.
That said, we expect in about a year or so, Kotlin will become the dominant language. Once you've been through Head First Android, we figure the main bump in the road will then be the underlying Kotlin. Which is why we're currently writing Head First Kotlin (due out next Summer)....
Head First Android Development
If you are a newbie Android developer and a little bit confused between Java and Kotlin than I must suggest you to start learning Kotlin. Kotlin is the most recommended language. It’s specifically designed for Android development and it’s a really nice language; But if you like programming with java? then yes, Java is also a better choice; you can stick with Java. My tip is just you need to compare both Kotlin vs Java by features and functionality-wise and see if it matches with your app idea or not. And choose one for your better Android app development
As per my suggestion if you are new to application development, you may opt for Kotlin. Advantages of kotlin over Java are as follows:
- Kotlin is interoperable.
- Drastically reducing the amount of boilerplate code in your project.
- Easy learning curve.
- Provides an enhanced run-time performance.
Java has its own advantages when it comes to android development.
Before choosing, you may have look at the comparison of Kotlin vs Java to get a better understanding about which language matches your requirements better.
Here. Have a potato. I grew it in my armpit. And from my other armpit, this tiny ad: