Java has 'var' since Java 10 and 'record' since Java 14.
@mpendulocele95484 ай бұрын
This video looks new, Java already has Type Inference as well. Via the var keyword. For data classes, Java has records.
@husseinshukri58462 ай бұрын
yeah, i was expecting a read performance comparison, null safety is pain though in java, but using optional you can solve that.
@rpx8787Ай бұрын
Records are not useful as JPA entities
@bestapps47097 ай бұрын
Respect JAVA bro ❤
@GokulS-ci2dx7 ай бұрын
sir how to enable the next button in exoplay online music app series
@thebhagwabilla7 ай бұрын
Thanks for this video. I knew that Kotlin is better but didnt know the reason. but your video with code examples really clarified my doubts
@EasyTuto17 ай бұрын
Glad it helped!
@lufenmartofilia58044 ай бұрын
"Better", it''s just an other syntax for java.
@Paul-kr8dq3 ай бұрын
Well the bottom line here seems to be that the only real reason for the Kotlin's existence is currently that Jetpack toolkit. In terms of the language, the rest of the "benefits" you either don't really need (like that prototyping OOP flavour) or already can do it with much better performance in the new versions of Java. So Kotlin seems to be just a kind of syntactic sugar package for those JS folk don't wanting to learn Java 😆 It won't surprise me at all, if Google will just drop it's support some day.
@MONEYFINDERS-ej6on2 ай бұрын
for me: this video is great but for some who wants to learn programming should start from java with java you will be developing WEB, MOBILE and DESKTOP apps Java will also give you proper way of coding If you can calm you self down to learn Java you have automatically learn everything in KOTLIN you will only need to update yourself because KOTLIN is a new programing language that is still updating Finally Its Better to learn JAVA first and continue with KOTLIN later on
@EasyTuto12 ай бұрын
Yeah you are right.
@iayushsharma6 ай бұрын
Dude let me tell you your content is amazing the way you tell difference between both the language with code is great. You deserve a subscribe❤
@SupriyaMondal32 ай бұрын
I think the features you have mentioned that Kotlin has java doesn't , I feel you are more inclined towards Kotlin, if you look at the latest java version it already has the same features which you have mentioned , and about async complexity is an excuse to avoid learning something if that complexity gives me performance benefits.
@abdulquddusakanbi72855 ай бұрын
I have been using java for the past 5 yrs and i learnt kotlin a year ago. I dont see any reason why kotlin is better. java 21 is just way better than kotlin with syntax and performance. Secondly, u said a programming language is object oriented and u are complaining of null exception and specifying data types for variable. Where u expecting something different??
@EasyTuto15 ай бұрын
But Google is promoting Kotlin, Jetpack compose is only can be implemented in Kotlin.
@Bob-18026 ай бұрын
I use Kotlin for desktop applications. But my big pet peeve is its compiler, it is so slow. It would be better if it could run natively.
@ashikajain50634 ай бұрын
Great video! You did an excellent job explaining the differences between Kotlin and Java. I learned a lot-thanks for sharing your knowledge!
@tobiasjakobprivate5 ай бұрын
Would you mind sharing this Eraser Canvas or a picture of the full canvas?
@EasyTuto15 ай бұрын
I don't have that one.
@abdulquddusakanbi72855 ай бұрын
6:31 the idea of extention is wild why will anyone do it
@CASLOAcademy6 ай бұрын
its called "type inference" ...you callled "type inTERference" in rhe video man
@asiis1815 ай бұрын
I need a piece of advice from Easy Tuto or any one expert in progrmming.. I have no background of computer science but I started learning android development in 2022. I have llearnt all the basics syntex of java and then kotlin (which I learnt quickly than java) including oops understanding. plus I learnt android basics to intermendiate. But my main problem was this that I could not be able to develop programming language. Then recently I moved to web development but I am confused that at the age of 40 I do have very short time for trasition my career from teaching bio to development. Any one here plz take out some moments from precious time to give me a wise advice.
@pranayirpachi45827 ай бұрын
sir please upload a more project in kotlin to learn more i am in final year i am learning android app development as well as spring boot so i can do
@EasyTuto17 ай бұрын
Sure.
@TheBadFred5 ай бұрын
Kotlin is a much sleaker language with quality of life simplifications, like you already explained in your video. I even use Kotlin in Spring Boot projects instead of Lombok.
@pranayirpachi45827 ай бұрын
sir please guide me i will be completed my graduation in may 2024 so what to do now learn a android and spring
@EasyTuto17 ай бұрын
If you want to learn backend go for Spring Boot. Else For mobile application go for android.
@RohitJain-u7f3 ай бұрын
I like that you explain the pros usability
@Basantkumarr7 ай бұрын
Bro your way of teaching just amazing so please launch a complete Android development courses in kotlin ❤
@EasyTuto17 ай бұрын
Thanks ❤️
@blacksundarkskies5 күн бұрын
1:36 bro gave up trying to spell it LOL
@eqa3ati7 ай бұрын
Why did you delete my comment when I asked you to respond on Instagram to contract with you to create a project?
@EasyTuto17 ай бұрын
I have not deleted anything. Maybe KZbin has moved it to spam.
@saravanakumar-wg1bq7 ай бұрын
nice bro do you link for learning kotlin
@EasyTuto17 ай бұрын
Search Android Kotlin official Documentation.
@abdulquddusakanbi72855 ай бұрын
4:29 Java 14 already fixed this Just use java record 😂😂😂
@sagardhadke7 ай бұрын
Please create your own online paid Android development batch
@EasyTuto17 ай бұрын
Not plans for paid batch as of now. But will teach free on youtube.
@Antiorganizer5 ай бұрын
You don't want to compete against a Kotlin guy if you only do Java. With Java you're stuck in the dark ages. Kotlin is way smarter and opens many doors.
@EasyTuto15 ай бұрын
Yes
@BossFlight4 ай бұрын
I think Kotlin and Java are amazing but this proves you know nothing about Java and Kotlin. 1)Java has built a robust foundation for OOP, multiplataform server side and desktop and client including applets, this since 2000, way ahead of time and that Kotlin is finally and gracefully catching up now! Unfortunately Java Desktop and Applets did not win the race but could if Sun/Oracle had played it right or along with Microsoft and avoid the browser war/jvm sabotage back in the day 2)Kotlin exists because ...Java does. It is like saying Beethoven cannot compete against Mozart or Bach, you would be stuck in Dark Ages where they are part of the same symphony extravangaza. How fast can a Java dev adapt to Kotlin ? It is not like learning from the ground up, It is like a new framework on top of Java. I think It is cute though that Kotlin changed things like var declaration order, switch blocks to "when" and public static void main(String args[]) to fun main() and null safety.
@SupriyaMondal32 ай бұрын
if using var and null safety means Kotlin is ahead of java then you need to learn more about java.
@Antiorganizer2 ай бұрын
@@SupriyaMondal3 Oh come on. You know that Kotlin is about a whole lot more than a mere var and null. It seems you don't realize what Kotlin provides. It's a whole ton of things. It's well beyond Java, really.
@KhanhHoang-ck9sg4 ай бұрын
❤❤❤
@erano014 ай бұрын
Your argument doesn't prove that kotlin is better than java. Java is faster and consumes less resources than kotlin you can look at CLBG outputs of these 2 language. You only trying to show kotlin language feature but it doesnt prove anything.
@sachindhakal21377 ай бұрын
please dai continue the kotlin series
@EasyTuto17 ай бұрын
Sure
@AD-jz5sq7 ай бұрын
Well. So it looks like Kotlin has nothing over Java except gimmicks... Silent continuation over NPE? Are you serious? LOL
@rizalazizfintech22646 ай бұрын
Poor Java. But Kotlin is not easy language
@CDsNutz00002 ай бұрын
If Kotlin is so good then why is Minecraft written in Java? Checkmate Kotlinists.
@gro9677 ай бұрын
Java (as well as Kotlin) is a BIG NO in 2024. Learn a language that is modern and usable and don't waste your time people. Think about the poor people that have to work with your code and how sad they are when they suddenly see Java instead of a proper programming language.
@qudratullahkhan45187 ай бұрын
Ok so which modern language would you prefer for mobile app development?
@EasyTuto17 ай бұрын
Kotlin is the big YES. You might be pointing to flutter or react native. But Native Development is not going anywhere and with Kotlin now you can make multi platform apps. So Kotlin is the future.
@D_bugit6 ай бұрын
Lol. The level of knowledge you have in programming is very poor. Java is changing and ask yourself initially any new updates of java isn't compatible with the current version of Android sdk and yet this year Google has restructured it to account for that and it even supports up to java 22 features. Let's leave the world of Android development anybody that boldly says that Golang has an intuitive syntax is a lie. Having a shorter syntax isn't the same as having an intuitive syntax I agree java is very verborse but anybody that has program in java before will tell you what people say about java is different from when you use it yourself. And ask yourself it has been over decades that developers especially noob KZbinrs started complaining about java being verborse and the reason why it is still in use today is because of legacy code. Ask yourself if that was the actual it been over decades and the company hasn't tried to ship the code base bit by bit to the so called the languages they felt it was the ideal one. Java is a language that forces you to learn and implement things yourself if you hate that go for JavaScript or python
@gro9676 ай бұрын
@@D_bugit Java is just a horrible language, there is really not a lost to discuss here. If you are starting, it's one of the worst languages to learn and if you are experienced, you will never touch it, as it is one of the worst languages for modern development. It has one single use case which is to maintain legacy software in corporate environments.