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.
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.
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!
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.
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.
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 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👍
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.
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.
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!
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💙🤜🤛🙏
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
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 ;)
@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.
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.
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 !
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.
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 :-)
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".
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.
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!!!
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.
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
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.
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?
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 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.
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
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
@@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
Thanks for the opportunity Brad, and I hope you guys like Kotlin! :)
Good work mate! You deserved to be here
*Eronred :)*
@@eren1514 Yo, thanks man :)
Wooooow Philip here you are again. Remember me ?
Yayy
good to see a fellow german here 👍
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.
i like how he explains the abstract class with example. well done!
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
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.
This is exactly the issue I was dealing with. Thank you so much.
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!
Oh Wow. Just few hours ago I was searching for Kotlin tutorial, and here it is !
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.
its amazing loud and clear, thanks to Brad for making its easy fr your million subscribers to easily find out about other great teachers.
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.
This is the best kotlin crash course, I've ever found on youtube! Really good video for a refresher
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 ;)
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 :)
@@TraversyMedia yes please, I second this motion
@@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👍
@@TraversyMedia 1.32 M (your subs) :- YES Please !!!
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.
Indeed, I'm moving over from Java and this is really helpful XD
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
Ok
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.
Really loved the way he taught kotlin and explained everything so clearly.
Looking forward to his android crash course.
Thanks a lot Brad❤️
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!
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💙🤜🤛🙏
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
Kotiln is currently my preferred programming language. Absolutely beautiful!
Your definition of the word Abstract is the first time its actually made sense. Thanks for that.
I've wanted to learn Kotlin for ages! Thank you so much, and a big thank you to Brad!
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 ;)
He explains interfaces like way better than a college professor.
@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.
Thanks for taking your time, hard to follow with the new IntelliJ IDEA 2021.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.
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 !
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.
Wow 😍
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
Kotlin is my favourite language of the ones I’ve used. Syntactically it is beautiful and it just makes sense.
Perfect introduction of Kotlin for begginners, thank you!
Hey Brad, Thanks much for the course. It helped me significantly to jump start Kotlin.
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!
This is such a big help! Thank you!
I knew phlipp lackner from his channel and im happy hes spreading his knowledge on other channel :)
thanks for making me understand kotlin
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
Dumbstruck at how good and huge this channel has grown. Keep it up, Brad 🔥
Thanks for this tutorial. It was exactly what I needed to gain a bit of familiarity with Kotlin quickly.
very helpful, thanks!
Very comprehensive Tutorial for a Java familiar Programmer. Good Job.
"Real programmers use dark theme" :). Thank you for this crash course, I learned a lot and it was fun. Keep up the good work!
Best real world explanation of abstract class i ever heard.
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 :-)
Thank you, wish you the best with your channel! :)
Thanks for this channel. Now I understand Kotlin more where others channels overcomplicate all time.
Your content is crisp, Thanks a lot for that, keep it up.
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.
"Lamborghini, Penthouse, Rolex.... just a normal purchase for a programming RUclipsr..." :D :D :D
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".
Oh my goodness thank you, I just spent the last hour trying to figure this out
Thank you for this crash course and we need more videos like this.
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.
This video really got me going on kotlin and helped me understand it. Thanks
I like this video because he almost explained every necessary concept in Kotlin
Thank you !!!!
i'm using videos from this channel instead of books for classes, it's soooo much easier
omg i was thinking of learning kotlin and this popped up, i think its meant to be
If you talked about it next to your phone or computer mic big brother google must have heard it hahahahaha
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!!!
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.
Wow, I was off for a while am back for the real stuff😍😘😍
Thanks a lot. One of the best in RUclips.
(Opens Kotlin)
- Kotlin not configured
- No option for .kt
- Won't run "Hello World!"
- Red everywhere.
I love code :)))))
The best crash course i could find , thank you
Such a great introduction. Thanks, Philipp!
Very good video for beginners I really liked the examples and the way you explain everything. Keep up the good work.
Thank you for your teaching! I benefit a lot from it!
Done watching the full video of this tutorial! Thank you sir! :)
Very informative. I got everything except for the lambda part but that's not a big issue. SHOKRAN!
this is really good, thanks for creating this channel :)
Philipp, You are a great teacher. explained well,
Tbh "for" command didn't make sense. I just couldn't get it
Amazing course, thank you! I will watch your Android course next
I'm not good at English but you are so amazing but Your explanation is really simple
thank you so much
You have my heart bro
This is right on time for something I'm working on. Thanks
Thank you for your amazing explanation .I am beginner but i am fully satisfied with your class.sir please keep on
This was a great crash course, thank you very much for putting in the effort :)
wow! I have been waiting for this course!
Thanks Phillipp it was an awsome course!
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
It has changed alot, "main" already existed for me
fantastic video! :) thank You for putting it together!
I love Kotlin!!!
Great content, thanks for sharing it!
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.
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?
Well done. Very precise for beginners!
The JDK has moved and intellaJ has changed. Could you do a modern video ?
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
Me too
@@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.
Very good introduction to Kotlin
Oh God finally some kotlin
Thnx Brad
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
Having the same issue, when I right click on .src I can't create a .kt file. I can create a .kts file though.
Hitting the like like button before watching as always
Awesome video man, thanks a bunch!
kotlin all the way.Would love to learn more on ktor language
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
Up you go!
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?
i have the same issue
@@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
Excellent course! Thank you.
Thank you for the great video, it's appreciated!
Lamborghini Penthouse Rolex , .add("Ferrari") ... wow that's my shopping list for 2022 what a coincidence 😅