Kotlin Crash Course

  Рет қаралды 262,089

Traversy Media

Traversy Media

Күн бұрын

Пікірлер
@PhilippLackner
@PhilippLackner 4 жыл бұрын
Thanks for the opportunity Brad, and I hope you guys like Kotlin! :)
@eren1514
@eren1514 4 жыл бұрын
Good work mate! You deserved to be here *Eronred :)*
@PhilippLackner
@PhilippLackner 4 жыл бұрын
@@eren1514 Yo, thanks man :)
@amano_akane
@amano_akane 4 жыл бұрын
Wooooow Philip here you are again. Remember me ?
@gauravthakkar802
@gauravthakkar802 4 жыл бұрын
Yayy
@TheVertical92
@TheVertical92 4 жыл бұрын
good to see a fellow german here 👍
@Asifkabeer
@Asifkabeer 3 жыл бұрын
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.
@samha1513
@samha1513 3 жыл бұрын
i like how he explains the abstract class with example. well done!
@KeithDCommiskey
@KeithDCommiskey 3 жыл бұрын
​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 2 жыл бұрын
This is exactly the issue I was dealing with. Thank you so much.
@Dheemantha
@Dheemantha Жыл бұрын
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.
@philekiert1251
@philekiert1251 Жыл бұрын
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.
@vineetranjan08
@vineetranjan08 4 жыл бұрын
Oh Wow. Just few hours ago I was searching for Kotlin tutorial, and here it is !
@bobbylinse6668
@bobbylinse6668 3 жыл бұрын
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!
@justamemer4400
@justamemer4400 3 жыл бұрын
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
@drexxboban8277
@drexxboban8277 Жыл бұрын
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.
@Lucas-hh4oh
@Lucas-hh4oh 3 жыл бұрын
This is the best kotlin crash course, I've ever found on youtube! Really good video for a refresher
@branmuller
@branmuller 4 жыл бұрын
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
@ismailnurudeen
@ismailnurudeen 4 жыл бұрын
Kotiln is currently my preferred programming language. Absolutely beautiful!
@KeithDCommiskey
@KeithDCommiskey 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
@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
@andilesimelane4771
@andilesimelane4771 4 жыл бұрын
its amazing loud and clear, thanks to Brad for making its easy fr your million subscribers to easily find out about other great teachers.
@thomasgeorge7473
@thomasgeorge7473 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.
@Channel-iu6de
@Channel-iu6de 3 жыл бұрын
Your definition of the word Abstract is the first time its actually made sense. Thanks for that.
@fing4186
@fing4186 7 ай бұрын
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 !
@pedroserapio8075
@pedroserapio8075 3 жыл бұрын
Thanks for taking your time, hard to follow with the new IntelliJ IDEA 2021.2.
@Salehalanazi-7
@Salehalanazi-7 4 жыл бұрын
He explains interfaces like way better than a college professor.
@wondersled5948
@wondersled5948 6 ай бұрын
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!
@abdallahalkhassaky9506
@abdallahalkhassaky9506 4 жыл бұрын
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 жыл бұрын
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 жыл бұрын
@@TraversyMedia yes please, I second this motion
@abdallahalkhassaky9506
@abdallahalkhassaky9506 4 жыл бұрын
@@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 жыл бұрын
@@TraversyMedia 1.32 M (your subs) :- YES Please !!!
@banszkiviktoria
@banszkiviktoria Жыл бұрын
"Lamborghini, Penthouse, Rolex.... just a normal purchase for a programming KZbinr..." :D :D :D
@WZLR
@WZLR 4 жыл бұрын
Kotlin is my favourite language of the ones I’ve used. Syntactically it is beautiful and it just makes sense.
@grampygamer8584
@grampygamer8584 3 жыл бұрын
I've wanted to learn Kotlin for ages! Thank you so much, and a big thank you to Brad!
@ahmedn.4085
@ahmedn.4085 4 жыл бұрын
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
@kskfernando2945
@kskfernando2945 Жыл бұрын
Ok
@damovex
@damovex 2 жыл бұрын
@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.
@aprendendoviolaoem5minutos600
@aprendendoviolaoem5minutos600 Жыл бұрын
Perfect introduction of Kotlin for begginners, thank you!
@jonasnghidengwa7186
@jonasnghidengwa7186 2 жыл бұрын
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💙🤜🤛🙏
@Shrooblord
@Shrooblord 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 ;)
@armadillo85
@armadillo85 Жыл бұрын
This is such a big help! Thank you!
@codinginflow
@codinginflow 4 жыл бұрын
Wow 😍
@mathumacharia6225
@mathumacharia6225 4 жыл бұрын
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
@xD-saleem
@xD-saleem 4 жыл бұрын
I knew phlipp lackner from his channel and im happy hes spreading his knowledge on other channel :)
@LaurentLaborde
@LaurentLaborde 4 жыл бұрын
Best real world explanation of abstract class i ever heard.
@RahulAhire
@RahulAhire 4 жыл бұрын
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
@lasse3412
@lasse3412 Жыл бұрын
Thanks for this channel. Now I understand Kotlin more where others channels overcomplicate all time.
@tomkerr8155
@tomkerr8155 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
@andrewiglinski148
@andrewiglinski148 4 жыл бұрын
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.
@johanesalberto6136
@johanesalberto6136 Жыл бұрын
thanks for making me understand kotlin
@manuelvisak1396
@manuelvisak1396 3 жыл бұрын
Very comprehensive Tutorial for a Java familiar Programmer. Good Job.
@NivagSwerdna
@NivagSwerdna 4 жыл бұрын
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.
@senkssenks
@senkssenks Жыл бұрын
Your content is crisp, Thanks a lot for that, keep it up.
@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!!!
@chadpaulsen8751
@chadpaulsen8751 3 жыл бұрын
i'm using videos from this channel instead of books for classes, it's soooo much easier
@anujgorasia
@anujgorasia 3 жыл бұрын
Hey Brad, Thanks much for the course. It helped me significantly to jump start Kotlin.
@BlueIsLeet
@BlueIsLeet 2 жыл бұрын
This video really got me going on kotlin and helped me understand it. Thanks
@codingcrashkurse6429
@codingcrashkurse6429 4 жыл бұрын
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 жыл бұрын
Thank you, wish you the best with your channel! :)
@mkgamingentertainment3786
@mkgamingentertainment3786 2 жыл бұрын
I like this video because he almost explained every necessary concept in Kotlin
@AbdallahSamir-x4w
@AbdallahSamir-x4w Жыл бұрын
Thank you for this crash course and we need more videos like this.
@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!
@notstorm
@notstorm 3 жыл бұрын
I am having a problem when I try to create a project in my ide I have to select the build system, by selecting the default one i have many other files in my project folder such as gradle and stuff and inside the source(src) folder I have 2 more folders and 2 subfolders inside those 2 folders, and upon creating a Main.kt file I don't seem to have the run option any help will be appreciated
@naomidemeer2445
@naomidemeer2445 3 жыл бұрын
Hi! I had the same issue. In case you haven't figured it out yet: For me it worked to create the file under src --> main --> kotlin. All three folders already existed. By creating my new kotlin file there, I was able to get the same screens Philipp gets and run the Hello World program. Hope this helps. :)
@notstorm
@notstorm 3 жыл бұрын
@@naomidemeer2445 I really appreciate the help u rendered, I figured it out after experimenting myself and it worked :D and can u please update ur comment saying that u need to use "intelliJ" build to have such folders it won't work in other builds since rest of the folders aren't there :p I give my heart felt thanks to you once again
@suneet2193
@suneet2193 3 жыл бұрын
Just to put it out there...I was not able to RUN the code initially...it just showed the 'EDIT CONFIGURATIONS' option. The solution was to just press RIGHT CLICK on "src" Folder ---> Mark Directory as ---> Sources Root.
@rohitkf8474
@rohitkf8474 4 жыл бұрын
Really loved the way he taught kotlin and explained everything so clearly. Looking forward to his android crash course. Thanks a lot Brad❤️
@SillverBel
@SillverBel 3 жыл бұрын
(Opens Kotlin) - Kotlin not configured - No option for .kt - Won't run "Hello World!" - Red everywhere. I love code :)))))
@robertmarsman2055
@robertmarsman2055 3 жыл бұрын
Great tutorial. But im stuck at the begging even after following the instructions. After clicking on "src ew " I do not see Kotlin Edit/class option. Version: Intellij 11.09.01
@tomkerr8155
@tomkerr8155 3 жыл бұрын
Me too
@KeithDCommiskey
@KeithDCommiskey 3 жыл бұрын
@@tomkerr8155 I also just ran into this issue. You 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.
@cnorris1193
@cnorris1193 3 жыл бұрын
3/16/2021; my version of IntelliJ does not have the same options; from installation as far as @10:43 I'm trying to follow along, but I cannot however, you are an excellent instructor and I approve of this video
@steelcardoza5361
@steelcardoza5361 3 жыл бұрын
Having the same issue, when I right click on .src I can't create a .kt file. I can create a .kts file though.
@MisterWealth
@MisterWealth 3 жыл бұрын
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..
@gpiludu
@gpiludu 4 жыл бұрын
If anyone got stuck with the Main.kt file, in IntelliJ 2020.3 (or whatever the version after the video's is), I had to put the file at src/main/kotlin/Main.kt
@arslanrasit
@arslanrasit 3 жыл бұрын
Up you go!
@ihabtanvir8075
@ihabtanvir8075 4 жыл бұрын
Dumbstruck at how good and huge this channel has grown. Keep it up, Brad 🔥
@davidgentilli7944
@davidgentilli7944 3 жыл бұрын
Thanks for this tutorial. It was exactly what I needed to gain a bit of familiarity with Kotlin quickly.
@Gokuderathestorm
@Gokuderathestorm 2 жыл бұрын
The JDK has moved and intellaJ has changed. Could you do a modern video ?
@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?
@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?
@artyomfromsib
@artyomfromsib Жыл бұрын
Tbh "for" command didn't make sense. I just couldn't get it
@ReneMeier-ew4ry
@ReneMeier-ew4ry Жыл бұрын
very helpful, thanks!
@linusperez2158
@linusperez2158 3 жыл бұрын
It has changed alot, "main" already existed for me
@louiidelosreyes742
@louiidelosreyes742 2 жыл бұрын
Done watching the full video of this tutorial! Thank you sir! :)
@dreddirt
@dreddirt 3 жыл бұрын
I am new to app development and I can see how this crash course can help me. This new version of Intellij IDEA will ask me to choose Target JVM version and Test framework when adding a new project. If you can help me out, that would be really amazing.
@디구산
@디구산 3 жыл бұрын
Thanks a lot. One of the best in KZbin.
@ashortstorey-hy9ns
@ashortstorey-hy9ns 3 жыл бұрын
Such a great introduction. Thanks, Philipp!
@alejrandom6592
@alejrandom6592 2 жыл бұрын
this is really good, thanks for creating this channel :)
@mohamedhussein5106
@mohamedhussein5106 Жыл бұрын
Very informative. I got everything except for the lambda part but that's not a big issue. SHOKRAN!
@JeffPohlmeyer
@JeffPohlmeyer 4 жыл бұрын
I know this a general purpose video on Kotlin and not necessarily an Android app video (which is coming next) but I'd imagine the next logical step would be having someone on for a Swift tutorial, no?
@themindsetgarage
@themindsetgarage 3 жыл бұрын
kotlin all the way.Would love to learn more on ktor language
@mw8151
@mw8151 3 жыл бұрын
"Real programmers use dark theme" :). Thank you for this crash course, I learned a lot and it was fun. Keep up the good work!
@tanzimibthesam5861
@tanzimibthesam5861 4 жыл бұрын
Is Kotlin easier than Java with a bit of modern day syntax?
@PhilippLackner
@PhilippLackner 4 жыл бұрын
I wouldn't say learning Kotlin is easier or harder than Java, but once you know it, you can do things easier than in Java and in less code
@khodjanadir3891
@khodjanadir3891 3 жыл бұрын
The best crash course i could find , thank you
@MonaDangerW
@MonaDangerW Жыл бұрын
Hey! Is there a new updated video? The programs are updated and dont look the same anymore. Thanks
@jawad9757
@jawad9757 4 жыл бұрын
omg i was thinking of learning kotlin and this popped up, i think its meant to be
@rcorreia23
@rcorreia23 3 жыл бұрын
If you talked about it next to your phone or computer mic big brother google must have heard it hahahahaha
@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?
@flutterninja1
@flutterninja1 4 жыл бұрын
Wow, I was off for a while am back for the real stuff😍😘😍
@MysticMac000
@MysticMac000 3 жыл бұрын
Amazing course, thank you! I will watch your Android course next
@Nae_Ayy
@Nae_Ayy 3 жыл бұрын
i dont understand everything is completely different than the tutorial is showing, all the options are different
@sunshine_grass
@sunshine_grass 6 ай бұрын
Thank you for your teaching! I benefit a lot from it!
@quantumcd1045
@quantumcd1045 4 жыл бұрын
I'm getting a "NumberFormatException" when I run the code at 35:50.
@maruf_r
@maruf_r 3 жыл бұрын
Watch 1:08:00
@JonnyRootsDem
@JonnyRootsDem 3 жыл бұрын
My dog function wont print "Woof"! I don't know if it's got anything to do with the version of IntelliJ I'm using, which is 2021
@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.
@HariKrishnan-es6po
@HariKrishnan-es6po 3 жыл бұрын
Philipp, You are a great teacher. explained well,
@rubenlarochelle1881
@rubenlarochelle1881 2 жыл бұрын
3:31 I love how says "Don't worry" to say Edge isn't his favourite browser ahah
@DevMadeEasy
@DevMadeEasy 4 жыл бұрын
Great content, thanks for sharing it!
@banszkiviktoria
@banszkiviktoria Жыл бұрын
fantastic video! :) thank You for putting it together!
@anouar.abdelmalek.derdouri
@anouar.abdelmalek.derdouri 2 жыл бұрын
Very good introduction to Kotlin
@SalomDunyoIT
@SalomDunyoIT 4 жыл бұрын
wow! I have been waiting for this course!
@LawrenceDCodes.
@LawrenceDCodes. 4 жыл бұрын
This is right on time for something I'm working on. Thanks
@BigWhoopZH
@BigWhoopZH 4 жыл бұрын
To be fair Java is catching up quite a bit in recent versions. So I'm not sure if Kotlin will ever replace Java or the other way around or if they just continue to coexist. It seems like Oracle accepted the challenge. Nevertheless it is a great achievement for Jetbrains to play at the levels of Google and Oracle. And their IDEs already wiped the floor with their competitors.
@fernandozolubaspreto6976
@fernandozolubaspreto6976 Жыл бұрын
Thanks Phillipp it was an awsome course!
@tojal
@tojal 3 жыл бұрын
This was a great crash course, thank you very much for putting in the effort :)
@hilmiamir3514
@hilmiamir3514 3 жыл бұрын
Well done. Very precise for beginners!
@MrDlnggorton
@MrDlnggorton 2 жыл бұрын
process finished with exit code 0 but no output. Please help!
Build A Simple Android App With Kotlin
1:11:41
Traversy Media
Рет қаралды 980 М.
Kotlin Crash Course for Java Developers
1:01:51
Coding Master - Programming Tutorials
Рет қаралды 76 М.
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
Let, Also, Apply, Run, With - Kotlin Scope Functions
11:44
Philipp Lackner
Рет қаралды 99 М.
Kotlin за час. Теория и практика.
1:21:33
alishev
Рет қаралды 226 М.
Learn Kotlin in 12 Minutes
12:01
Rahul Pandey
Рет қаралды 344 М.
Coroutines: Concurrency in Kotlin
30:22
Dave Leeds
Рет қаралды 19 М.
Kotlin Coroutine (High-quality Course)
2:07:37
Smartherd
Рет қаралды 108 М.
The Ultimate Gradle Kotlin Beginner's Crash Course For 2025
42:17
Philipp Lackner
Рет қаралды 22 М.
how Google writes gorgeous C++
7:40
Low Level
Рет қаралды 974 М.
Kotlin Course - Tutorial for Beginners
2:38:31
freeCodeCamp.org
Рет қаралды 1,7 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН