Learn Kotlin in 12 Minutes

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 มิ.ย. 2024
  • Learn the fundamentals of the Kotlin programming language. Kotlin has exploded in popularity over the last few years, commonly used for Android apps, server code, and scripting. We go over variables, operators, strings, if statements, for loops, and functions.
    📱 Accelerate your career growth: joinTaro.com
    ➤ Pass your coding interviews: neetcode.io/pro? (use code TARO for a discount)
    ➤ Advanced coding exercises, build-your-own-X: app.codecrafters.io/join?via=...
    ➤ Kotlin docs: kotlinlang.org/docs/
    Hi! I’m Rahul, a software engineer with a passion for teaching. I went to Stanford, was a founding engineer at a startup, and have worked at various companies across Silicon Valley. I’m currently an Android Developer and teach an Android class at Stanford. Would love to connect with you! This channel is about tech (especially Silicon Valley), combining tactical how-to guides with interviews.
    📹 TH-cam: th-cam.com/users/RahulPandey...
    📝 LinkedIn: / rpandey1234
    🐦 Twitter: / rpandey1234
    📸 Instagram: / rpandey1234
    📂 Github: github.com/rpandey1234/
    Timestamps:
    0:00 Introduction
    2:00 variables
    3:27 operators
    4:09 strings
    6:06 conditionals
    7:14 collections
    8:21 for loops
    9:19 functions
    10:33 nullability

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

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

    If you watched the whole video, we need to connect 😇
    → www.linkedin.com/in/rpandey1234/
    → twitter.com/rpandey1234
    I've also been running an experiment where I run live sessions to grow your tech career. Get notified here: www.linkedin.com/company/techcareergrowth/

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

      Very precise explanation. After having experience in c++ it's really easy to understand Kotlin

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

      Sometimes, I feel like people come up with new languages just for the sake of being "Unique" or "Different" without any real benefits -_-...

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

      @@lineage13 I feel like they try to address the complaints they have about a certain language. The problem is, the complaints are usually just theirs, (or that of a few people) and in doing so, they introduce more issues. How many new languages have been dubbed the next "Java Killer"? I don't think Kotlin is the one either.

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

      Kotlin 😍

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

      Are there no object oriented/classes in Kotlin?

  • @capitalcitygiant
    @capitalcitygiant ปีที่แล้ว +132

    Other TH-camrs would've made a 2hr video out of this but you condensed it down perfectly and explained everything at just the right level. Thank you!

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

    once you learn your first lang the rest is story

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

      Unless you go for a funcional language

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

      Word!!!

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

      I learned HTML then CSS was ez, i learned JS and PY was easy, I am now learning Kotlin so Swifty will be easy

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

      Yes. The syntax may confuse you though

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

      ...especially if that first language is c or c++ lol

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

    TH-camrs in 2021: Learn Kotlin in 12 minutes
    TH-camrs in 3021: Learn Spanish in 5

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

      I'm sure by then we'll have some brain assisting technology which will memorize things for us 🔖

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

      @@RahulPandeyrkp i would go with "the world will end before that"

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

      You need to say what 5 ?
      It can be 5 hour or 5 day

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

      @@galaxyslayer4520 fan of the comment...

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

      @@6L6Lcephas maybe 5 months or 5 year or 5 centuries or after dieing 5 times.

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

    This is the by far best short introduction to a programming language I have ever encountered. I am super happy that I found your channel!

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

    Damn... I just learnt a lot of Kotlin in 12 minutes. Honestly aside from how refreshing Kotlin is when compared to Java I'm more excited about how similar Kotlin is to Rust and Typescript syntactically. Those are the other languages I'm really excited to learn. This will be a wonderful journey.

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

      Welcome to Kotlin 🥰

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

      It's even more similar to Scala.

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

    Super helpful for someone who already has a good background in another programming language and is able to follow along. I'll definitely be coming back to this as a refresher

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

    Watched this ad on Facebook lead me to here , i have now developed the interest of learning Kotlin, Great explanation thanks

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

    Clear, concise, funny, and easy for people who already know, python for example. This man deserves a lot more views.

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

    This tutorial is what I was searching for several times. Now my confusion is clear a bit. Thank you.

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

    Getting this much info in 12 minutes without it ever feeling like too much information at once, hats of to you and thanks for sharing!

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

    That's a great syntax review! The single-line null check is so slick!

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

    Quick but packed with info. Thanks for this!

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

    Subscribed (and the first time I've watched one of your videos!). Thanks for putting in the effort to share your knowledge about using Kotlin.

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

    Seriously the best programming video i've ever seen!!
    From now on,I'll be consulting your channel whenever i decide to learn a new programming language.
    Thank you!

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

    Excellent narration at the perfect pace. Thank you!

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

    wow this is probably the best programming tutorial I've seen. Thanks so much

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

    This is the best introduction to any programming language I have seen. Thank you!

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

    Man!!! Concise and informative as well. Thank you.

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

    Thanks for the concise introduction, this is exactly what I was looking for!

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

    I'm a java backend developer for 12 plus years and I recently started working on my own app and wanted to learn kotlin. I wondered reading the doc may be a bit boring and just wanted a quick tut on Kotlin syntax. So this was a perfect video, only until @3:44. The next thing I know is I'm watching and dancing for songs of late 90s and 2000s, starting from "Call me May be"!

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

    Clean and precise. Excellent! I really loved it,

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

    I thought this was another clickbait video but I am actually impressed with the concise information. The overview helps to make decision to switch and analyze the difference between this and your dominantl/fav language

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

    Thank you so much Rahul I have been looking for such a simplified video for me to learn Kotlin

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

    I have more than 3 years of working experience using java after watching this video it is easy for me to switch from java to kotlin,so thanks rahul.

  • @bearliongaming2464
    @bearliongaming2464 8 วันที่ผ่านมา

    Great concise tutorial! Thank you!

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

    This is was a great introduction to Kotlin language and I also enjoyed your humor, keep up the great content!

  • @wulch
    @wulch 9 วันที่ผ่านมา

    genuinely amazing. Very well paced and well put together! thanks alot

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

    Excellent introduction to Kotlin. You covered quite a lot of material in such a short period of time. Thanks!

  • @user-ww2zq2np2o
    @user-ww2zq2np2o 2 หลายเดือนก่อน

    Excellent presentation. Thank you for posting it!

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

    Great Work, It's 5 AM here I'm exhausted can't sleep but I still found your video helpful and I'm gonna watch it again.

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

    Thanks. Great quick seamless video that hit many of the basic functions of Kotlin.

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

    This is very good quick introduction to Kotlin. This was very useful for me as someone with Java background.

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

    Clear, simple... congrats 👏👏👏

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

    Used well every second of my 12 minutes. Good work, thank you!

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

    this is such a nice, simple, to the point video, thanks for this

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

    This is a Kotlin tutorial that suits me best. Thank you Rahul!

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

    As a Java developer who wants to migrate to Kotlin this is so easy to understand. Great job dude. Keep the private fun going 🎉😂

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

    Incredible. Coming from C# this was an absolute breeze! Thank you!

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

    Quick, easy, useful. Thank you

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

    love the syntax, I see now why Kotlin is getting more popular.. thanks for the video!

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

    Super concise explanation.
    Thank you so much.

  • @pp-1954
    @pp-1954 2 ปีที่แล้ว

    Thanks for the amazing video. Helped a lot!

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

    Great explanation, this video really made me passionate about this language. That is RARE

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

    You did a great job explaining the Kotlin basics. Thank you!

  • @HypnosisBear
    @HypnosisBear 5 หลายเดือนก่อน +1

    Exellent video! Thank you!!

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

    This is exactly the crash course you need if you have been trying to migrate from Java to Kotlin for Android. Some of the other concepts are still missing but ofcourse a lot has been covered in this.

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

    Worth 12 minutes !
    If you have even a little knowledge of any other language , you'll absolutely find this as a piece of cake.

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

    Thank you. I like your manner of presentation.

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

    Nice video to start with the basics of Kotlin! Thnx Rahul for the information!

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

    Brilliant video! Easy to follow along and funny! Thank you!

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

    Thansk mate this channel is all i needed

  • @engr.inigoe.silvagalvan1161
    @engr.inigoe.silvagalvan1161 ปีที่แล้ว

    Thank you my brother, you're the best!

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

    Great work Rahul. Keep it up.

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

    i'm so happy meet this video!Thank you!!🥰

  • @sayyid5416
    @sayyid5416 วันที่ผ่านมา

    Subscribed. Nicely explained 👍

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

    Very nice video. Just found Kotlin, didn’t know it was such a new language.

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

    I have no background in programming languages but this was explained so well that I had to like and subscribe!

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

    This is extremely helpful. Many many thanks

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

    Well done and thank you!

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

    Thanks for the very informative video man!

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

    Wowow, great vid man! lots of info at a perfect pace!

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

    This is a really great tutorial video. My background was Java, and I want to add another languanges so I chose Kotlin first. Then I watched ur video and it's really easy to understand. Thanks a lot, hope u and ur family keeps doing well.

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

    Thanks a lot for this man!

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

    Great overview of Kotlin. Keep up the good work!

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

    It would be helpful if you could leave the examples on the screen for a while because it takes a while for what you say to actually get to my brain and then sometimes your description has been overwritten before I can properly understand it
    However, as others have said, you are concise and straight to the point - no 'talking heads' no unrelated chitterchatter. It is by far the best introduction I have viewed. Thank you.

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

    Dude, this is essentially Typescript! Awesome!

  • @user-ti9zs6pv8e
    @user-ti9zs6pv8e 2 ปีที่แล้ว +1

    Very important information! Best!

  • @7arv9t70
    @7arv9t70 2 ปีที่แล้ว

    Bro u thug for real and I was wishing to jog my memory in Kotlin and u just nailed it

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

    great tutorial, excellent delivery

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

    Thank you so much, quick and clear !

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

    amazing video. you are very good explaining thing. keep it up bro

  • @matt-oz6bu
    @matt-oz6bu ปีที่แล้ว

    Thankyou man, u just earned another sub

  • @geoff-huang
    @geoff-huang 2 ปีที่แล้ว

    Amazing! Thanks!

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

    I downloaded Android Studio yesterday and chose Kotlin. I was looking at the screen completely lost. Last time I did any 'code' was HTML web text writing in school like 12 years ago. This helps a lot!

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

      Amazing! What are you going to build first?

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

      @@RahulPandeyrkp I want to build a puzzle game using all of my own photography and artworks or if not that, some other form of art related game app.

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

      @@stevenARTify very cool, I have this detailed walkthrough to build a Memory game with custom images. Might help: th-cam.com/video/ivZN2Ozs5fA/w-d-xo.html

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

    Thank you, Rahul.

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

    Thanks to the creator for not having a heavy indian accent

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

    It looks like Javascript with types, a main function, and default immutability. I like it already!

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

    Awesome tutorial👌👏

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

    Hey 😎 it's a good video for java programmer who want to switch in kotlin..
    Basic concepts of kotlin is ☑️

  • @v.s.kumarsanku2970
    @v.s.kumarsanku2970 2 ปีที่แล้ว +2

    This is very quick intro to kotlin fundamentals. This is very useful. Thank You Rahul. For me it felt as if I was seeing Java+Gosu at same time. Gosu is also JVM language and statically typed.

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

      Interesting! I don't know much about Gosu

    • @v.s.kumarsanku2970
      @v.s.kumarsanku2970 2 ปีที่แล้ว

      @@RahulPandeyrkp gosu is a programming language developed by guidewire and its a scripting language. Unlike Java gosu typesystem is open it's not limited to meta class type at run time.

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

    I'm going through the "Android Basics in Kotlin" from Android for Developers. I got my start in BASIC and Pascal, went dormant for a while and re-emerged as a PHP dev. The more I learn about Kotlin, the more I like it! 😃

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

      you'll love Kotlin!

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

      Pascal and Basic sounds very familiar to me. back in college 40 yago

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

    Great video man, thanks!

  • @erikt.5253
    @erikt.5253 ปีที่แล้ว

    Earned a sub .. Great video, thank you.

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

    Very interesting and helpful video. Thank you!

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

    Great One Dear, It was crisp and clear. Thanks for the vid

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

      Glad it was helpful!

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

      @@RahulPandeyrkp Absolutely. Dear Rahul could you please share or make a video on how one person enter the IT industry if they are from non-technical background. I mean how do they get the job or create projects out of the courses they learn and put them online. Thanks again for the hopeful provision of your insights in fulfilling this humble request.

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

    I have seen many 2-3 hrs Kotlin tuts, but was still confused, watching this video made me realize how much time I wasted on those unnecessarily long videos, this channel is a goldmine.

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

    You rock! Articulation and explanation are amazing

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

    Amazing explanation!

  • @pranav.bhasin
    @pranav.bhasin ปีที่แล้ว +4

    Great video Rahul. This was a good introduction to the language. I would like to add that it seemed that you're often explaining Kotlin from the perspective of a Java programmer. I can understand the need for it because a lot of Java libraries are used in backend development. However, Kotlin, given its multiplatform origins, stands independently. There are a lot of quality of life features like data classes, const variables, etc that you could tackle in a follow-up video.

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

      agreed, there's more than enough to cover in a follow up!

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

    Really good tutorial. I would say include classes, and you have a complete beginners guide. Keep up the good work. :D

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

      thank you 🙏🏽 it was really hard for me to pick what made it in this video, but I did cover some additional topics (intermediate level) in a separate playlist

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

      @@RahulPandeyrkp I'm an experienced Kotlin developer and found this video useful to show to students. Impressive that you got all that info into that short of a video! :) And you English is superb.

  • @8DMafia
    @8DMafia 3 ปีที่แล้ว

    Great Video , thanks.

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

    nice lesson thanks.

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

    ive found you through Clement and goddamn youre soo good! Much respect.

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

      thanks so much Sevin!

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

      @@RahulPandeyrkp thanks sir. I'm a second year cse student from India. As it was covid. We had a big lag in our classes and I've lost my flow in programming. You just made me get back to it!!!

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

      @@zioping I'm glad I could help! I hope you + your family are staying safe, I know COVID is worrisome in India.

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

    Good man Rahul and take care

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

    This is perfect as a refresher course.

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

    Keep going boss!!

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

    nice vid bro, really interested in kotlin after learning java though I just learned the basics.

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

    Since I come from python using pycharm the black IDE of Intellij and simplicity of Kotlin seems really useful

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

    love your tutorial