Kotlin Crash Course for Java Developers

  Рет қаралды 76,277

Coding Master - Programming Tutorials

Coding Master - Programming Tutorials

Күн бұрын

Пікірлер: 97
@Bene31
@Bene31 Жыл бұрын
1. Functions don't have to be in a class. 2. Functions are defined using "fun". E.g.: with main: fun main() { ... } (same as public static void main() in Java if not in a kotlin class) 3. Semicolons are optional. 4. val for final, var for changeable variables. val test = "string" -> final String test = "string" 5. Automatic type inference. Force with: var test: String = "string" 6. Nullable types. Use ? to make a variable nullable. e.g.: var test: String? = "string" 7. String joining with + works just like in Java, C# etc., but there are also string templates: println("Test ${5 + 5}") -> with { for complex expressions println("Test $name") -> without { for just referencing a variable 8. Arrays. Accesing is the same as in java. Creating with: val testArray = arrayOf(1, 2, 3, 4)
@averygranum
@averygranum 4 жыл бұрын
I recommend watching at 2x speed
@hackerman7835
@hackerman7835 4 жыл бұрын
thank you!
@jefflittle8913
@jefflittle8913 4 жыл бұрын
I run everything at 2x unless they have a really thick foreign accent and then I go with 1.5x
@user7966
@user7966 3 жыл бұрын
haha i do this for like eveything :)
@Rompack
@Rompack 3 жыл бұрын
@@jefflittle8913 XD
@realdanielpeach
@realdanielpeach 3 жыл бұрын
Always
@saaqibz
@saaqibz 4 жыл бұрын
This video deserves a lot more likes and views than it's received. Thanks for making this clear tutorial!
@owenwexler7214
@owenwexler7214 4 жыл бұрын
Excellent tutorial, thank you for this. One criticism - please zoom in on code for future videos, makes it easier to read for people on the go watching on a smaller screen.
@Youtube_Stole_My_Handle_Too
@Youtube_Stole_My_Handle_Too 10 ай бұрын
Second that! Excellent tutorial. He only needed eight minutes and twenty seconds to convince me never to consider developing for Android. I never realized how much nonsense you have to put up with.
@shyamhabarakada6295
@shyamhabarakada6295 Жыл бұрын
Thank you for making this crash course. It was just what I was looking for (while ramping up on a Kotlin project, and being an absolute n00b to the language)
@vlaskz
@vlaskz Жыл бұрын
Excellent Tutorial! As a seasoned Java developer, I found it exciting without the fluff.
@rad6626
@rad6626 Жыл бұрын
Thank you for making a concise no fluff tutorial.
@pankajkohli9263
@pankajkohli9263 3 жыл бұрын
Excellent. I really liked the way you taught. Honestly I didn't missed any concept and the real time examples you gave were great. Keep posting more. cheers :)
@MikeEnRegalia
@MikeEnRegalia 3 жыл бұрын
You know, it is possible to increase font size in Intellij IDEA. There's even a dedicated presentation mode.
@ProLusor
@ProLusor 3 жыл бұрын
if(age >= 21) println("You are allowed to drink!") **laughs in literally the rest of the world**
@gersonadr2
@gersonadr2 2 жыл бұрын
Excellent intro! Thanks mate!
@VijoPlays
@VijoPlays Жыл бұрын
Thanks! This was much better than the extreme beginner tutorials explaining what a bracket is (useful, but not really my cup of tea after years of coding)
@franklinyoutub
@franklinyoutub 3 жыл бұрын
Grate man ! Thank you, greetings from Guatemala 🤙🏽
@marianpazdzioch5437
@marianpazdzioch5437 4 жыл бұрын
44:40 "it looks like Kotlin code" it looks like bull crap to me - putting it in one line makes it super unreadable AND prone to errors AND you will not see history of changes in VCS because history is per LINE ... so >>> don't do that kids
@trampflips101
@trampflips101 4 жыл бұрын
this is probably the only good comment in the entire comment section haha
@aric7726
@aric7726 4 жыл бұрын
Totally agree
@pietroroberto6114
@pietroroberto6114 3 жыл бұрын
Could somebody please iterate over all the Kotlin things that this tutorial hasn't touched? I would like to know what else should I learn about Kotlin.
@OnlinePseudonym
@OnlinePseudonym 3 жыл бұрын
2 mins in and it's hard to read the code given the size of the font.
@GoldenBeholden
@GoldenBeholden 3 жыл бұрын
Many thanks, great tutorial for those who don't need to relearn how to program.
@chadblair5974
@chadblair5974 2 жыл бұрын
Well done. This is exactly what I was looking for.
@chetanpatteparapu9107
@chetanpatteparapu9107 2 жыл бұрын
Joined a new team and needed to ramp up on Kotlin. This tutorial is really useful. Thank you to the creator :)
@siddhartarya6963
@siddhartarya6963 4 жыл бұрын
you could have make text bigger i can't see the text clear
@gioac96
@gioac96 4 жыл бұрын
Great video! Here's 4 tips for following videos, free of charge: 1) Zoom in your code 2) Use a dark theme, for the love of God 3) Clean up the code between different examples, do not just comment them out 4) Blank lines really go a long way to make your code more readable Overall, the video is pretty good at introducing the subject tho! Keep it up!
@bodiabdo3107
@bodiabdo3107 2 жыл бұрын
Thanks a lot for your work , and your English help me to understand more than you think. Good luck, I like your video ♥️
@pandaDotDragon
@pandaDotDragon 4 жыл бұрын
thank you for this crash course :-) just the useful stuff.
@omarkhalid4737
@omarkhalid4737 4 жыл бұрын
great video, exactly what i was looking for! keep up the good work.
@viniciusps01
@viniciusps01 3 жыл бұрын
Thank you for the video. It was a nice Kotlin main features compilation.
@AzeamDildar
@AzeamDildar 4 жыл бұрын
Where can we find the exercise for the practice plz?
@khynantoque
@khynantoque 4 жыл бұрын
Great tutorial keep it up, but I will suggest to use some zoom tool to make texts readable.
@brucehe9517
@brucehe9517 Жыл бұрын
Nice tutorial. Thanks, alot.
@subramanianchenniappan4059
@subramanianchenniappan4059 4 жыл бұрын
very bright screen display and very little fonts size
@bubblyboom1
@bubblyboom1 2 жыл бұрын
Great video ! you make it easier to follow then other video
@danny117hd
@danny117hd 4 жыл бұрын
Screens too small zoom in or 30pt font. This is a presentation.
@tanvirmasum456
@tanvirmasum456 4 жыл бұрын
Wow.. awesome but what about data class in Kotlin. If you get time, please reply..
@hiteshbitscs
@hiteshbitscs 2 жыл бұрын
Nice class.. just increase a font bit
@chancleta4059
@chancleta4059 2 жыл бұрын
Thank you for the great tutorial!
@IsaacCallison
@IsaacCallison 4 жыл бұрын
Super helpful. Needed a refresher.
@srukshan98
@srukshan98 5 жыл бұрын
Just searched kotlin crashcourse on youtube. This video is really interesting
@asaywitz
@asaywitz 2 жыл бұрын
Thank you! Nice job :)
@WhatIsThisAllAbout
@WhatIsThisAllAbout 2 жыл бұрын
Nice tutorial. Is there a part 2 for it where you explain the advanced features ?
@anwarsosko5963
@anwarsosko5963 3 жыл бұрын
Thank you for this amazing explanation, I was wearied about difficulties of converting to Kotlin but you make it looks super easy and smooth.
@daniyara8879
@daniyara8879 4 жыл бұрын
Thanks for a great and thorough tutorial!
@KotlinTv
@KotlinTv 4 жыл бұрын
I loved it bro! keep it up!
@karmeshduggar6694
@karmeshduggar6694 Жыл бұрын
Thanks sir!
@aikisustin3094
@aikisustin3094 Жыл бұрын
good tutorial, I just would like if you had used dark theme intellij
@niklasflink6092
@niklasflink6092 4 жыл бұрын
Loved it, great video
@Rompack
@Rompack 3 жыл бұрын
Great vid
@berserk989_
@berserk989_ 5 жыл бұрын
Thanks so much!!! It's very interesting so I'll keep on investigating.
@Nockoutz1
@Nockoutz1 2 жыл бұрын
Thank you very much , very helpful
@PankajKumar-ft7lc
@PankajKumar-ft7lc 4 жыл бұрын
Finally! We got chicken. 😀
@AbuSous2000PR
@AbuSous2000PR 4 жыл бұрын
Perfecto...do u have a video that's is more advanced? This one is an introduction Btw...you explain very well Cheers
@srukshan98
@srukshan98 5 жыл бұрын
Cannot even read the code at 480p.
@ajagbetomtoy7298
@ajagbetomtoy7298 5 жыл бұрын
can i learn android development without know java at all
@h3w45
@h3w45 5 жыл бұрын
of course you can.
@marianpazdzioch5437
@marianpazdzioch5437 4 жыл бұрын
but you will not understand most of Android legacy code which is .... like 100% percent :P
@mohamedAhmed-xh6ic
@mohamedAhmed-xh6ic 2 жыл бұрын
thanks
@fiddle0146
@fiddle0146 4 жыл бұрын
I don't understand why he doesn't need an argument for the when ( 36:45 )
@gabrielmaga970
@gabrielmaga970 Жыл бұрын
thx🖐
@user-cm4ce5fh4q
@user-cm4ce5fh4q 2 жыл бұрын
Danke
@davidholle6569
@davidholle6569 4 жыл бұрын
"a val variable is immutable" doest't that make it a constant, not a variable
@pratheekadi5965
@pratheekadi5965 4 жыл бұрын
No. There is a slight difference. A val can be assigned with a var. But a const cannot. Val variable need not know its value at compile time. But a const needs to be assigned before compile time. const is usually used for known constants, for instance, const val timespan = 30. Hope this answers your question.
@MrVipulLal
@MrVipulLal 4 жыл бұрын
Choose a larger font man!
@danpower7416
@danpower7416 21 күн бұрын
Learning Kotlin sounds like a lot of fun (I apologize for that).
@ajagbetomtoy7298
@ajagbetomtoy7298 5 жыл бұрын
what about if the person understand JavaScript
@gianluke
@gianluke 3 жыл бұрын
Useless because of the font size.
@anandhu5082
@anandhu5082 3 жыл бұрын
great video, please add timestamps
@arcadudu
@arcadudu 4 жыл бұрын
Very nice tutorial, but only possible to watch at 1.5x speed
@drpm47
@drpm47 4 жыл бұрын
very useful.
@srukshan98
@srukshan98 5 жыл бұрын
understanding the difference between colon and semicolon is crucial
@engineerkamran
@engineerkamran 4 жыл бұрын
I watched on 2x speed but the guy is good
@ArchonLicht
@ArchonLicht 2 жыл бұрын
Mate, what you call an "immutable variable" has a simple comprehensible name - it's called a CONSTANT. Immutable variable - variable that doesn't mutate, variable that doesn't variate - that's an oxymoron, how did you even come up with this? A CONSTANT - that's what it is.
@llothar68
@llothar68 3 жыл бұрын
Downvoted because this is Kotlin for Programming Beginners, not for Java Developers. We want a much faster and the big design points first.
@waitingyeung2546
@waitingyeung2546 3 жыл бұрын
17:55
@vasilhristov5244
@vasilhristov5244 4 жыл бұрын
10/10
@francis10203
@francis10203 2 жыл бұрын
Perfect at x2 speed.
@Golden2Talon
@Golden2Talon Жыл бұрын
even the first second already looks completly different and makes this tutorial outdated. In create new project there is no such thing as Kotlin stuff you showed. And src folder is missing, ok I created it. But then I can only create .kts or .ws.kts files, but no .kt file ........
@whistler_
@whistler_ Жыл бұрын
The software part might be different, but everything regarding code (which is the important part anyways) is the same.
@tav1119
@tav1119 4 жыл бұрын
Its a little bit like Typescript ...
@noctali8049
@noctali8049 5 жыл бұрын
Wow Obama is teaching me Kotlin :D
@foorlooploop7736
@foorlooploop7736 3 жыл бұрын
It is good for beginners but not for java developers!
@Alex-sc2rc
@Alex-sc2rc 4 жыл бұрын
Did anyone count the 'ah's and 'uhm's?
@emilhuseynli
@emilhuseynli 2 жыл бұрын
Disappointing. I was bored already in the begining of the video. If you are an experienced java developer and want to save time and quickly get into the kotlin language by watching this, then be aware it won't work.
@borazan
@borazan 10 ай бұрын
consider editing your videos and planning out what you want to say before saying it. you speak very slowly and say uhh all the time.This couldve been a 10 minute video.
@iyxan23
@iyxan23 3 жыл бұрын
too slow :(
@whistler_
@whistler_ Жыл бұрын
2x speed
@siux94
@siux94 Жыл бұрын
Waste of time
@sunclaude
@sunclaude 4 жыл бұрын
Kotlin: A bull shitty Typescript with some Javascript flavours and C# extensions.
@firstevidentenigma
@firstevidentenigma 4 жыл бұрын
oh my god, it is a dumbed down scripting language.
@rishiraj2548
@rishiraj2548 8 күн бұрын
thanks
Kotlin for Java Programmers by Venkat Subramaniam
51:40
Devoxx
Рет қаралды 56 М.
Kotlin Crash Course
1:23:50
Traversy Media
Рет қаралды 262 М.
Ozoda - Alamlar (Official Video 2023)
6:22
Ozoda Official
Рет қаралды 10 МЛН
БОЙКАЛАР| bayGUYS | 27 шығарылым
28:49
bayGUYS
Рет қаралды 1,1 МЛН
Air Sigma Girl #sigma
0:32
Jin and Hattie
Рет қаралды 45 МЛН
Kotlin For Java Developers Complete Course
6:04:26
Nerd's lesson
Рет қаралды 41 М.
Kotlin language Crash Course [core basics] for beginners
25:09
Learn Kotlin in 12 Minutes
12:01
Rahul Pandey
Рет қаралды 344 М.
What is the Java Job delusion?
12:23
Stefan Mischook
Рет қаралды 142 М.
Intro to Object Oriented Programming - Crash Course
30:18
freeCodeCamp.org
Рет қаралды 984 М.
Spring Boot & Kotlin Tutorial - Crash Course For Java Devs
32:15
Marco Codes
Рет қаралды 17 М.
How to Kotlin - from the lead Kotlin language designer (Google I/O '18)
39:24
Kotlin Programming Fundamentals Tutorial - Full Course
4:09:58
freeCodeCamp.org
Рет қаралды 104 М.