Java vs Kotlin for Android App Development

preview_player
Показать описание

#keeponcoding #tech #programming
Рекомендации по теме
Комментарии
Автор

Which language would you choose if you were an Android app developer?

KeepOnCoding
Автор

Your break down of things is always interesting and so helpful! Thanks!

omermir
Автор

What if Google had a dispute with Jetbrains and again there is a new language, say, Klingon....

ItachiUchiha-nxsw
Автор

Very neat explanations. Also I like it the brevity of videos not making them too long.

tayyabachowdary
Автор

Java was my second programming language, I learned oop on it in school, never really liked it over C++, started learning kotlin a few days ago and it looks to me like it is just Java but thinned with some python.

I didn't develope an android app before, but I will now using Kotlin

bassam_salim
Автор

Been jumping between these for over a month. Good Work, thanks for clarifying my doubts. I think, will be going with kotlin.

rajanbirsingh
Автор

Def. Kotlin. I've been developing Android apps for five years, give or take. I remember the transition being hard but once Ive got used to Kotlin, I would not wanna go back to Java.

MrYuhsien
Автор

Thank you so much man. I am new to all of this and i was worried about which one of these i should learn. I was already started on Kotlin and this has swept away all my worries.

HadChilling
Автор

Thanks for your opinion man, really appreciate your unbiased thoughts, considering you've done some app dev in Java. 👍😃

damercy
Автор

This was the first video I clicked on, when researching the subject, and answered so many of my questions. This was well put together, Thank you. :)

serving_tray
Автор

Another well explained video. Currently I use Java since I have not learned Kotlin (yet). Also, in android studio there is a way to convert Java directly to Kotlin. I have not tried it yet but might help with the learning transition :)

fourlokouva
Автор

4:28 - Extension functions are relatively useful but they are syntactic sugar, which becomes immediately obvious when trying to reference Kotlin code from Java; it is the equivalent of Project Lombok's @ExtensionMethod feature. Either way, you aren't actually _extending_ code in the traditional sense; you aren't doing the equivalent of applying a trait onto a pre-defined struct in Rust.

4:42 - This code example actually shows a particular gripe I have with Kotlin: it's so utterly obsessed with eradicating verbosity that it makes code _more_ difficult to read. Pretend for a second that you weren't learned in Kotlin: where would you suppose "length" comes from? Or "get()" for that matter? What scope are those functions located in? Is that even a method definition?

5:12 - Data classes are not exclusive to Kotlin. Records were admittedly a preview feature at the time this video was made, but even before then, there were ways to create data classes, like Project Lombok's @Data feature.

5:31 - Type inference is not exclusive to Kotlin.. indeed, full var support was added in Java 11 back in 2018. It can admittedly only be used for variables, not fields, but the video explicitly states "variables". It also goes without saying that the example you gave of why type inference is a good thing is actually an example of why type inference is a bad thing. If you're changing return types, your code is probably going to break more than just because of previous type declarations.

lodgin
Автор

World : Kotlin Vs Java
Meanwhile Python : Launch the PyoDroid module

spec_wasted
Автор

Kotlin definitely will become the main language, but Android developer should have the ability to read Java code

babythedude
Автор

Your explanation are very clear! Brief but brings out all the key points. Thanks!

moseslauyihieng
Автор

Those 60 people who disliked are from Oracle, they just lost the case and probably Google Android support for the future.

AlbertoRodriguez-oejo
Автор

Thank you for the video. looking forward to learn Kotlin, a transition from C/C++ to Kotlin. Hopefully it will be smooth.

anupx
Автор

Keen to know more about your Thesis on Android security as I'm interested in security as well.

kaifahsan
Автор

I'm in that transition right now, currently converting one of my apps to Kotlin !!

germainkevin
Автор

never seen you before and one video did it, I'm a new sub and I'll be looking forward to seeing more of your videos

abdelkadersoudani