After some time this excitement would die off and the real programming languages would stand the test of time. We barely use Java 8 features on Android, Modern Java is way more powerful and concise than people know.Īnd people always claim that you would be "productive" with Kotlin. I dislike it when people compare Kotlin to Java as a language, please what you are comparing it with is with Java 7. Unfortunately, people compare Kotlin to Java 7, the latest Java is Java 12, which is way more concise and powerful.Ī reason Android developers hype Kotlin on Android is that they were used to Java 7. Apart from that, any Kotlin developer would need to learn Java so it's a two-way road. But if I say Java is not a wonderful language, that would be self-delusion. So please, Kotlin is wonderful, I use it. In fact, I could write some Java 12 code and you might think it is Kotlin, that's how powerful it is.įor example, to use Java Completable futures on Android you need to be at least API 26, but Java Completable futures came at Java 8, and they are very cool ways to do asynchronous tasks on just one line of code, check them out, they are very similar to Javascript promises. Java is even seeing a growth you can check out the TOBIE index, learning Java is a plus to your career. We barely use Java 8 features on Android, Modern Java is way more powerful and concise than people know. Most managers just want the job done, most users of apps don't even know what an API is so if you are good with Java then that's fine.Īnother reason Android developers hype Kotlin on Android is that they were used to Java 7. Smaller lines of code do not mean the code was written faster. Bad software isn't caused by Java or Kotlin. My issue is with the way people hype Kotlin and in the process try to make Java look bad. I do like Kotlin but that has never stopped my love for Java.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |