3 ms·
I've been programming for 14 years now (if you can count HTML as an 11 year old :p). I've reached professional proficiency in Python, JavaScript. I have minor e
by chatmasta 9y ago
I've been programming for 14 years now (if you can count HTML as an 11 year old :p). I've reached professional proficiency in Python, JavaScript. I have minor experience (at least one project) in C, C++, PHP, Prolog. I'm also proficient with bash, SQL, etc... Point is, learning a new language is not a problem for me.
That said, I have very little, basically no Java experience (used it 8 years ago in high school, and for a bit at an internship). I also have no Kotlin experience. So either way, I need to learn something if I want to develop natively for android (I'm interested in creating an app heavily dependent on system networking API's, so while I could use JS for the presentation layer, native code is a requirement at some point).
How would you recommend approaching this? Should I learn the basics of android programming with Java first, then move to Kotlin? Should I learn them simultaneously somehow? Any resources you can point me to?
Thanks for your time.
- mataniko 9y agoIs 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.
- chatmasta 9y agoGood 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.
- quantummkv 9y agoYou can learn them simultaneously. Antonio Leiva has an amazing book on the subject. The kotlin and Android docs should suffice as the sdk methods will remain the same. And kotlin has a simple syntax. And you will have the benefit of Android studio and it's code completion.