Kotlin Crash Course

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ก.พ. 2025

ความคิดเห็น • 361

  • @PhilippLackner
    @PhilippLackner 4 ปีที่แล้ว +385

    Thanks for the opportunity Brad, and I hope you guys like Kotlin! :)

    • @eren1514
      @eren1514 4 ปีที่แล้ว +8

      Good work mate! You deserved to be here
      *Eronred :)*

    • @PhilippLackner
      @PhilippLackner 4 ปีที่แล้ว +1

      @@eren1514 Yo, thanks man :)

    • @amano_akane
      @amano_akane 4 ปีที่แล้ว

      Wooooow Philip here you are again. Remember me ?

    • @gauravthakkar802
      @gauravthakkar802 4 ปีที่แล้ว

      Yayy

    • @TheVertical92
      @TheVertical92 4 ปีที่แล้ว +1

      good to see a fellow german here 👍

  • @Asifkabeer
    @Asifkabeer 3 ปีที่แล้ว +40

    Watched the entire thing as I practiced in IntelliJ. Super helpful. This was my introduction to Kotlin and I cant say enough how simple you made it. Thank you so much Philip.

  • @vineetranjan08
    @vineetranjan08 4 ปีที่แล้ว +13

    Oh Wow. Just few hours ago I was searching for Kotlin tutorial, and here it is !

  • @samha1513
    @samha1513 4 ปีที่แล้ว +13

    i like how he explains the abstract class with example. well done!

  • @branmuller
    @branmuller 4 ปีที่แล้ว +43

    Wow you should make a udemy course. You explained the concepts soooo well! I will come back to this video if i ever need a refresher for OOP

  • @bobbylinse6668
    @bobbylinse6668 4 ปีที่แล้ว +14

    Great job! That was super informative. The only feedback I'd give, is that when you're declaring a variable of type String or type fun, to use slightly different naming conventions to avoid any confusion. For example, if you're declaring a String, avoid calling it "string" and if you're declaring a function to avoid calling it "function" It just made the lambda and generics section a little bit harder to follow is all.
    Other than that, this was a 10/10. You did a great job explaining some of these concepts!

  • @abdallahalkhassaky9506
    @abdallahalkhassaky9506 4 ปีที่แล้ว +39

    Hey Brad, just wanted to let you know that I love your content man, please do some more videos on data structures and algorithms, I need some to ace my upcoming interviews ;)

    • @TraversyMedia
      @TraversyMedia  4 ปีที่แล้ว +20

      It is something I have been meaning to do. I was trying to think of what MY next video would be. That could be it, we'll see :)

    • @SB-df8vy
      @SB-df8vy 4 ปีที่แล้ว +2

      @@TraversyMedia yes please, I second this motion

    • @abdallahalkhassaky9506
      @abdallahalkhassaky9506 4 ปีที่แล้ว +2

      @@TraversyMedia Thank you really much man, we appreciate it, I read many books and I am still struggling with some of them lol.. Keep up the good work👍

    • @jacksonbodra6450
      @jacksonbodra6450 4 ปีที่แล้ว +1

      @@TraversyMedia 1.32 M (your subs) :- YES Please !!!

  • @Dheemantha
    @Dheemantha ปีที่แล้ว +3

    great tutorial, I am a java developer newly entering to the kotlin programming and this covers kind of all the things for me. Thanks and keep up the good work.

  • @justamemer4400
    @justamemer4400 3 ปีที่แล้ว +4

    This is an excellent tutorial for beginners to understand basic concepts such as functions if else if etc; as well as for people who have learnt all the advanced concepts before in java but have never used kotlin before and are now moving to kotlin for android dev.

    • @GabrielTobing
      @GabrielTobing 3 ปีที่แล้ว

      Indeed, I'm moving over from Java and this is really helpful XD

  • @philekiert1251
    @philekiert1251 ปีที่แล้ว +2

    Thanks so much for this, this has got me up to speed enough to make a start on the little project I'm working on!
    Quick note for anyone new to programming confused by the lambda function syntax around an 01:20:00, "function" and "string" here are just arbitrary names for those objects, not keywords. They could just as easily be anything else.

  • @andilesimelane4771
    @andilesimelane4771 4 ปีที่แล้ว +5

    its amazing loud and clear, thanks to Brad for making its easy fr your million subscribers to easily find out about other great teachers.

  • @Lucas-hh4oh
    @Lucas-hh4oh 3 ปีที่แล้ว +2

    This is the best kotlin crash course, I've ever found on youtube! Really good video for a refresher

  • @KeithDCommiskey
    @KeithDCommiskey 3 ปีที่แล้ว +9

    ​For anyone who finds there is no "File -> New -> Kotlin Class/File" option, you may have to mark the top folder (in the Project pane; with the project path next to it) as being the "Sources Root". Right-click the folder and use the "Mark Directory as... -> Source Root" option. Then the "Kotlin Class/File" option should become available from the "File -> New" menu.

    • @JordanTheImpaler69
      @JordanTheImpaler69 3 ปีที่แล้ว

      This is exactly the issue I was dealing with. Thank you so much.

  • @Salehalanazi-7
    @Salehalanazi-7 4 ปีที่แล้ว +9

    He explains interfaces like way better than a college professor.

  • @jonasnghidengwa7186
    @jonasnghidengwa7186 2 ปีที่แล้ว +4

    Damn,,, bro this is crystal 🔮 you have really explained everything to the extent that ,,, even those that do not have an idea what programming is ,can grasp everything... Thank you for this bro keep up💙🤜🤛🙏

  • @jesusbohorquez2098
    @jesusbohorquez2098 3 ปีที่แล้ว

    Bro, you are amazing, I have been struggling with Android because almost all tutorials overcomplicate things, yet , you on the other hand, you make it so simple. Thank you, pal

  • @wondersled5948
    @wondersled5948 8 หลายเดือนก่อน

    You're an amazing teacher! All of the concepts were masterfully explained, and I grasped them almost immediately. I'll mess around with Kotlin a little to get a hold of its in and outs, and then I'll watch your video lesson on app development. Thanks again!

  • @ismailnurudeen
    @ismailnurudeen 4 ปีที่แล้ว +2

    Kotiln is currently my preferred programming language. Absolutely beautiful!

  • @grampygamer8584
    @grampygamer8584 3 ปีที่แล้ว +1

    I've wanted to learn Kotlin for ages! Thank you so much, and a big thank you to Brad!

  • @fing4186
    @fing4186 9 หลายเดือนก่อน

    This was great for me ! I am coming from Java and wanted to get on board with Kotlin quick, without the unnecessary fat which you can find in most of the other courses. Thanks a a lot !

  • @Channel-iu6de
    @Channel-iu6de 4 ปีที่แล้ว

    Your definition of the word Abstract is the first time its actually made sense. Thanks for that.

  • @Shrooblord
    @Shrooblord 2 ปีที่แล้ว +2

    Thanks a lot! Very nice and thorough introduction. You pointed out some great little nuances about the language that already make me excited to get started. :)
    For extra credit, the final function you write -- the generic customCount() extension... if we want to be 'clean', we should rename the variable 'string' to something like 'type'. So, "for (type in this)" etc.
    It pays off to have your variables named properly ;)

  • @pedroserapio8075
    @pedroserapio8075 3 ปีที่แล้ว +1

    Thanks for taking your time, hard to follow with the new IntelliJ IDEA 2021.2.

  • @rohitkf8474
    @rohitkf8474 4 ปีที่แล้ว +7

    Really loved the way he taught kotlin and explained everything so clearly.
    Looking forward to his android crash course.
    Thanks a lot Brad❤️

  • @damovex
    @damovex 3 ปีที่แล้ว +1

    @Philipp Lackner so the I (OR) is referred to as the PIPE symbol So II is the Double PIPE. Thanks for sharing your knowledge. Very clear explanations. You go further than most with the syntax and some edge cases and clarifications. Very helpful.

  • @codinginflow
    @codinginflow 4 ปีที่แล้ว +60

    Wow 😍

    • @mathumacharia6225
      @mathumacharia6225 4 ปีที่แล้ว +5

      Hi man, your videos introduced me to kotlin and android development. I hope you get featured in brads channel someday. Big thank you @coding_in_flow

  • @mw8151
    @mw8151 4 ปีที่แล้ว +11

    "Real programmers use dark theme" :). Thank you for this crash course, I learned a lot and it was fun. Keep up the good work!

  • @xD-saleem
    @xD-saleem 4 ปีที่แล้ว +1

    I knew phlipp lackner from his channel and im happy hes spreading his knowledge on other channel :)

  • @andrewiglinski148
    @andrewiglinski148 4 ปีที่แล้ว +2

    Awesome dude. I've been meaning to learn Java for a long time. I'm definitely going to be a new subscriber to your channel bud you did a great job on this one.

  • @drexxboban8277
    @drexxboban8277 ปีที่แล้ว +2

    For those in need, new version of IJ you go New Project -> select (under nodejs) JVM it is already an IDEA, and the rest is similar to his. As for creation of new kotlin files mark src as root folder by clicking right click on it and then select `Mark Directory as` and `Sources root`. Then in src->main->kotlin create new files by right click->New -> plenty to choose from.

  • @aprendendoviolaoem5minutos600
    @aprendendoviolaoem5minutos600 ปีที่แล้ว

    Perfect introduction of Kotlin for begginners, thank you!

  • @anujgorasia
    @anujgorasia 3 ปีที่แล้ว +1

    Hey Brad, Thanks much for the course. It helped me significantly to jump start Kotlin.

  • @armadillo85
    @armadillo85 ปีที่แล้ว +1

    This is such a big help! Thank you!

  • @ihabtanvir8075
    @ihabtanvir8075 4 ปีที่แล้ว

    Dumbstruck at how good and huge this channel has grown. Keep it up, Brad 🔥

  • @jordigarciapena7180
    @jordigarciapena7180 3 ปีที่แล้ว

    Nice job Philipp! I'm intending to move from Java to Kotlin and I was looking for a nice way to dive in! This video just did the trick! Thanks really!

  • @johanesalberto6136
    @johanesalberto6136 ปีที่แล้ว +1

    thanks for making me understand kotlin

  • @lasse3412
    @lasse3412 2 ปีที่แล้ว

    Thanks for this channel. Now I understand Kotlin more where others channels overcomplicate all time.

  • @NivagSwerdna
    @NivagSwerdna 4 ปีที่แล้ว +1

    This was fun... played with Kotlin a couple of years back and this is a good excuse to revisit it... might use it for adventofcode this year.

  • @codingcrashkurse6429
    @codingcrashkurse6429 4 ปีที่แล้ว +2

    Great Phillip, really great to see a german developer on the rise. Your presentation is inspiring, very clear and on spot. Hope to see myself in a similar position in some time :-)

    • @PhilippLackner
      @PhilippLackner 4 ปีที่แล้ว +3

      Thank you, wish you the best with your channel! :)

  • @davidgentilli7944
    @davidgentilli7944 3 ปีที่แล้ว

    Thanks for this tutorial. It was exactly what I needed to gain a bit of familiarity with Kotlin quickly.

  • @manuelvisak1396
    @manuelvisak1396 3 ปีที่แล้ว

    Very comprehensive Tutorial for a Java familiar Programmer. Good Job.

  • @senkssenks
    @senkssenks ปีที่แล้ว

    Your content is crisp, Thanks a lot for that, keep it up.

  • @BlueIsLeet
    @BlueIsLeet 2 ปีที่แล้ว

    This video really got me going on kotlin and helped me understand it. Thanks

  • @ReneMeier-ew4ry
    @ReneMeier-ew4ry ปีที่แล้ว +1

    very helpful, thanks!

  • @AbdallahSamir-x4w
    @AbdallahSamir-x4w ปีที่แล้ว

    Thank you for this crash course and we need more videos like this.

  • @ahmedn.4085
    @ahmedn.4085 4 ปีที่แล้ว +8

    My advice on programming for the fellow wanna be programmers is this.... Consistency is the key and if i or he can! You can too

  • @LaurentLaborde
    @LaurentLaborde 4 ปีที่แล้ว

    Best real world explanation of abstract class i ever heard.

  • @WZLR
    @WZLR 4 ปีที่แล้ว +5

    Kotlin is my favourite language of the ones I’ve used. Syntactically it is beautiful and it just makes sense.

  • @thomasgeorge7473
    @thomasgeorge7473 2 ปีที่แล้ว +2

    I've had some trouble making a Kotlin project on the new IntelliJ IDEA 2022.2 version. You have to start with a general New Project, then select Kotlin for the langauge, select IntelliJ for build system, and also tick 'add sample code' to get it to work.

  • @KeithDCommiskey
    @KeithDCommiskey 3 ปีที่แล้ว +3

    If you are not getting the empty folder structure as shown in the video, and the "Kotlin" selection [@8:30] shows additional options not shown in the video, from the "New Project" menu, try instead selecting "Java" -> "Kotlin/JVM".

    • @steelcardoza5361
      @steelcardoza5361 3 ปีที่แล้ว

      Oh my goodness thank you, I just spent the last hour trying to figure this out

  • @디구산
    @디구산 3 ปีที่แล้ว

    Thanks a lot. One of the best in TH-cam.

  • @RahulAhire
    @RahulAhire 4 ปีที่แล้ว +1

    I'm really glad that kotlin look 80-90% exactly same as JavaScript which will help web developers learn kotlin easily for native mobile development

  • @jawad9757
    @jawad9757 4 ปีที่แล้ว +6

    omg i was thinking of learning kotlin and this popped up, i think its meant to be

    • @rcorreia23
      @rcorreia23 3 ปีที่แล้ว +2

      If you talked about it next to your phone or computer mic big brother google must have heard it hahahahaha

  • @mkgamingentertainment3786
    @mkgamingentertainment3786 3 ปีที่แล้ว

    I like this video because he almost explained every necessary concept in Kotlin

  • @clemthompson5336
    @clemthompson5336 ปีที่แล้ว +1

    Thank you !!!!

  • @sunshine_grass
    @sunshine_grass 7 หลายเดือนก่อน

    Thank you for your teaching! I benefit a lot from it!

  • @ashortstorey-hy9ns
    @ashortstorey-hy9ns 3 ปีที่แล้ว

    Such a great introduction. Thanks, Philipp!

  • @chadpaulsen8751
    @chadpaulsen8751 4 ปีที่แล้ว

    i'm using videos from this channel instead of books for classes, it's soooo much easier

  • @flutterninja1
    @flutterninja1 4 ปีที่แล้ว +2

    Wow, I was off for a while am back for the real stuff😍😘😍

  • @khodjanadir3891
    @khodjanadir3891 3 ปีที่แล้ว

    The best crash course i could find , thank you

  • @alessandrod.306
    @alessandrod.306 3 ปีที่แล้ว

    Very good video for beginners I really liked the examples and the way you explain everything. Keep up the good work.

  • @louiidelosreyes742
    @louiidelosreyes742 2 ปีที่แล้ว

    Done watching the full video of this tutorial! Thank you sir! :)

  • @DevMadeEasy
    @DevMadeEasy 4 ปีที่แล้ว +2

    Great content, thanks for sharing it!

  • @tojal
    @tojal 3 ปีที่แล้ว

    This was a great crash course, thank you very much for putting in the effort :)

  • @MysticMac000
    @MysticMac000 4 ปีที่แล้ว

    Amazing course, thank you! I will watch your Android course next

  • @alejrandom6592
    @alejrandom6592 2 ปีที่แล้ว

    this is really good, thanks for creating this channel :)

  • @ousmanealamakaba3135
    @ousmanealamakaba3135 4 ปีที่แล้ว

    Thank you for your amazing explanation .I am beginner but i am fully satisfied with your class.sir please keep on

  • @LawrenceDCodes.
    @LawrenceDCodes. 4 ปีที่แล้ว

    This is right on time for something I'm working on. Thanks

  • @mohamedhussein5106
    @mohamedhussein5106 2 ปีที่แล้ว

    Very informative. I got everything except for the lambda part but that's not a big issue. SHOKRAN!

  • @fernandozolubaspreto6976
    @fernandozolubaspreto6976 ปีที่แล้ว

    Thanks Phillipp it was an awsome course!

  • @tomkerr8155
    @tomkerr8155 3 ปีที่แล้ว +3

    I'm trying to follow this tutorial but the options and sequences are not showing the same on my version of IJ. Do you have an updated version?

    • @TheRealLucifer-Morningstar
      @TheRealLucifer-Morningstar 3 ปีที่แล้ว

      i have the same issue

    • @KeithDCommiskey
      @KeithDCommiskey 3 ปีที่แล้ว

      @@TheRealLucifer-Morningstar I found there were two differences in what I was seeing and what is in the video. I posted potential solutions to both of them in the comments (sort by newest). HIH

  • @kingking8407
    @kingking8407 หลายเดือนก่อน

    Thanks sir. Really help full
    *correction*
    val number1 = readLine()?.toIntOrNull() ?: 0
    val number2 = readLine()?.toIntOrNull() ?: 0
    val result = number1 + number2
    print(result)

  • @HariKrishnan-es6po
    @HariKrishnan-es6po 3 ปีที่แล้ว

    Philipp, You are a great teacher. explained well,

  • @banszkiviktoria
    @banszkiviktoria ปีที่แล้ว

    fantastic video! :) thank You for putting it together!

  • @banszkiviktoria
    @banszkiviktoria ปีที่แล้ว +1

    "Lamborghini, Penthouse, Rolex.... just a normal purchase for a programming TH-camr..." :D :D :D

  • @aymenmousa4431
    @aymenmousa4431 3 ปีที่แล้ว

    Thank you, Hali, for the effort you made, and your presence from the beautiful and beloved characters with explanation, and God increased you in his knowledge. I learned Kotlin Android and I went back to learning from the first to verify the information that I learned from the Arabs, so may God reward you with confusion because most of what we have learned is not complete, and thank you very much and good luck. God bless you

  • @edwardkats
    @edwardkats 3 ปีที่แล้ว

    Great video, but there's something missing: if you refer "there will be an error" - you can do one more step to show this error, rather then describing the error....
    "see it once is better than hear it 100 times"
    Thanks again for the video!!!

  • @SalomDunyoIT
    @SalomDunyoIT 4 ปีที่แล้ว

    wow! I have been waiting for this course!

  • @vipulranjansahu6514
    @vipulranjansahu6514 ปีที่แล้ว

    You have my heart bro

  • @MisterWealth
    @MisterWealth 3 ปีที่แล้ว +1

    My kotlin-crash-course - src has files in it, his doesn't. It has a main with kotlin and resources, then has another folder that says kotlin and resources in that one as well. What do I click? Neither are allowing me to view it..

  • @mohamedelkhames1637
    @mohamedelkhames1637 2 ปีที่แล้ว +1

    I'm not good at English but you are so amazing but Your explanation is really simple
    thank you so much

  • @anouar.abdelmalek.derdouri
    @anouar.abdelmalek.derdouri 2 ปีที่แล้ว

    Very good introduction to Kotlin

  • @themindsetgarage
    @themindsetgarage 3 ปีที่แล้ว

    kotlin all the way.Would love to learn more on ktor language

  • @rickos1841
    @rickos1841 11 หลายเดือนก่อน

    Best video ever thank you so much

  • @christophermsmith3
    @christophermsmith3 4 ปีที่แล้ว

    Awesome video man, thanks a bunch!

  • @hilmiamir3514
    @hilmiamir3514 3 ปีที่แล้ว

    Well done. Very precise for beginners!

  • @phobic1172
    @phobic1172 2 ปีที่แล้ว

    The JKD download page at 07:00 doesn't seem to work anymore and redirects to Eclipse Temurin. Any idea what I should download from there, if anything?

  • @akashgeorge5433
    @akashgeorge5433 2 ปีที่แล้ว

    code at 35:47 is not working...it says number format exception....i tried to input 1 number and then skipped the second so as to get null...what has to be changed?

  • @Affliction604
    @Affliction604 3 ปีที่แล้ว

    Thank you for the great video, it's appreciated!

  • @SudipBhattacharyya
    @SudipBhattacharyya หลายเดือนก่อน

    Very good! Thank you 🙂

  • @kirre7501
    @kirre7501 3 ปีที่แล้ว

    Excellent course! Thank you.

  • @deepsyntax4225
    @deepsyntax4225 4 ปีที่แล้ว +2

    I love Kotlin!!!

  • @rashmikataria3642
    @rashmikataria3642 3 ปีที่แล้ว

    thankyou.. I watched the whole video and revised my concepts..😊 I follow you on insta nd your channel too.. You post agood content..

  • @TabRosenfeld
    @TabRosenfeld 2 ปีที่แล้ว

    thank you for the video!

  • @linusperez2158
    @linusperez2158 3 ปีที่แล้ว +1

    It has changed alot, "main" already existed for me

  • @barryryan5187
    @barryryan5187 3 ปีที่แล้ว

    great video, I learned so much! thx

  • @jorgemolongua7112
    @jorgemolongua7112 3 ปีที่แล้ว

    This was very good. Thank you so much.

  • @ramdaneoualitsen1323
    @ramdaneoualitsen1323 2 ปีที่แล้ว

    Great course. Thank you very much

  • @eboatwright_
    @eboatwright_ 3 ปีที่แล้ว

    Thank you for this! :D

  • @MisterWealth
    @MisterWealth 3 ปีที่แล้ว

    54:20 I guess I don't completely understand why are you writing it so differently for the isOdd function? Can the even and isOdd function be written either way?