Kotlin Vs Java

All You Need To Know As Google Announces Official Support For Kotlin In Android Development

#LetsBeFrankWithIT andLET ME QUICKLY DROP THIS HERE for those that did not understand the news.😇

In the Google’s I/O 2017 conference, the company never said that Kotlin is now the official language for Android Development, rather, it’s now officially supported as a first class language for Android Development which will make Android Studio 3.0 have Kotlin integrated out of the box together with Java. Meaning you can still develop with Java or Kotlin.😁

Kotlin Vs Java

We just need to understand this. Of course, Kotlin is a modern Statically Typed Programming Language which makes it win a head to head against Java, though still depends on the Java Virtual Machine. It was developed from scratch by JetBrains, the company behind the IntelliJ Platform which Android Studio is based on. Unlike the over 22 years old Java originally developed by Sun Microsystems and now owned by Oracle, Kotlin was not developed to be Backward Compatible with all those old Architectures and Syntax of C and C++, it was developed from scratch to modernize the way we code which removes most of the Java’s weaknesses including the smart handling of the Null Pointer Exceptions, removal of boilerplate codes and so on.

With Kotlin, you would be able to write 20% lesser codes than you would in Java. It’s very clean and Rapid. Compare a situation where you write about 20 lines of code to where you write a single line of code and they perform the same functions as a class… That’s the kind of slap Java has received from Kotlin.😁

I personally think that the reason Google chose Kotlin over their own GO Language or Dart is because, Kotlin is Interoperable with Java, which means that you can even mix up the two languages as you develop your apps. Also, with Kotlin, they only needed a little support for it rather than Creating an entirely new Architectures and Libraries for Android in order to support their GO Language, that’s definitely a risk not worth taking, at least for now that the Android Community is full of Java Developers with thousands of Apps.

Do you remember that Google and Oracle have a big feud since 2013 when Oracle claimed that Google infringed their copyright in the development of Android, and also choosing Java for development without a License from them? See, I believe so strongly that Google announced this support for Kotlin to remind Oracle that, Hey, are you aware that there are actually other languages available for Android Development? And also to remind them that Android is the reason for Java current existence. You will agree with me that, if not for Android, Java is as good as dead since 5 years ago, even though it’s still been used for wearables, TVs and so on.
But this is not the right way to do it. Let’s take a look at what Apple did to Objective C when they chose Swift as the official language for iOS development. They made it crystal clear.
Take a look:

Microsoft: C#
Apple: Swift
Google: Java, Kotlin, C++, GO, Dart

Google really need to work hard on this programming language issue and stand out like her mates.

Having said these. I have an advice for anyone who wants to delve into Android Development as a career path:

1. If you are just a beginner who wants to start Android Development, I will advise you to go the Java route. In this regard, you will have access to lots of resources which will aid your ease of learning. You will definitely learn Java much easier than you would in Kotlin because of the large number of the community, and you will easily get lots of Libraries to develop arguably anything you want. Kotlin will definitely get to that level of resources but at least it will take up to the next 4 – 6 years. Believe me, Java is going no where soon. Java will always be there at least for the next decade. It’s still the industry standard until we hear a more solid and convincing announcement from Google.

2. If you have been developing Android Apps with Java, I urge you to give Kotlin a trial since it’s much easier to learn/migrate to with your Java knowledge, and may be someday it will become the only official language for Android Development. Just saying…😉

Mobile Development (may be Artificial Intelligence in the next decade) is the future of technology; Embrace it with love, and the next generation will be proud of you.


Love it? Share it!
0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *