Kotlin Programming Fundamentals Tutorial - Full Course

  Рет қаралды 104,637

freeCodeCamp.org

freeCodeCamp.org

Күн бұрын

Пікірлер: 96
@josphatkariuki3906
@josphatkariuki3906 5 жыл бұрын
People like this gentleman give me HOPE in life honestly speaking.... Thank Ryan for this.
@MarcMcRae
@MarcMcRae 4 жыл бұрын
One of THE cleanest, gargon free starts..brilliantly explained. I'm a hobbyist, so for me it's the fun of learning to make something elegant. Thank you for this!
@jonathancheli5842
@jonathancheli5842 3 жыл бұрын
really Ryan? no degrees? no certificates? you are the best teacher ive ever had ahhaa.. man..do you have any ... Kotlin course for more advance/complex projects? you rock with your work! you are super clear!!! and really professional! this course s been a blast!
@sohailpathan1436
@sohailpathan1436 4 жыл бұрын
Loved this tutorial :D My takeaways: /** * Maintain the architecture of your application so that it will become open for extension and close for modification. * Always separate your code logic from the UI part. * Dependency injection is something that every developer should use in their application. **/ Thanks
@InaAgapito
@InaAgapito 2 жыл бұрын
If you are watching this in 2022 and using the intelliJ IDE don't worry when you run the application and get an error. Try it: 1. Remove the parameters in the main; 2. Rewrite de val operatorSymbol to receive an input from user: val operatorSymbol = readln() 3. Run it! So now it' should work normally 😉
@RealXFool
@RealXFool 5 жыл бұрын
Today I'm starting this course without any programming knowledge. Exactly 2 years from now I'll come back and post If I still code.
@yourfavouritequotes9897
@yourfavouritequotes9897 5 жыл бұрын
RealXFool Reminder: 22 months left
@JulienReszka
@JulienReszka 4 жыл бұрын
How's it going ? Still coding ?
@RealXFool
@RealXFool 4 жыл бұрын
@@JulienReszka yes. Slowly... :p
@vinayakchamle968
@vinayakchamle968 4 жыл бұрын
Let me know
@thestranger6340
@thestranger6340 4 жыл бұрын
Still going?
@enoch2819
@enoch2819 5 жыл бұрын
You are very sincere
@tarunkr5352
@tarunkr5352 5 жыл бұрын
First 38 secons and I'm enjoying it... You're funny man. Keep it up!!!
@SuevyYukiko
@SuevyYukiko 5 жыл бұрын
first 10 seconds, why? 0:30 ok, I get it now.
@templeOfChrist1994
@templeOfChrist1994 3 жыл бұрын
At 37:03 I was like Bro? Your not serious right now... You had me fooled but 39:15 is so true, I programmed a small application to take in user input to an Array in both languages and wrote a lot less code in Kotlin
@sinisterdraco3807
@sinisterdraco3807 4 жыл бұрын
Best teacher ever 💙.
@frederickburks4546
@frederickburks4546 2 жыл бұрын
Loved this tutorial!
@Vikermajit
@Vikermajit 3 жыл бұрын
Thank you, sir. May you be blessed with good health, and prosperity.
@kgjaqe1169
@kgjaqe1169 3 жыл бұрын
Thank you kindly, i am looking forward to learning from you Sir!
@Rin-qj7zt
@Rin-qj7zt Жыл бұрын
Some feedback: I have a problem with your version of the "learning by doing" method. Its incredibly hard to retain information for me procedurally. Some people are okay with that, they happily learn how to do things while being unaware of the function and purpose they use it for. Ive seen someone install a garage light. This involves punching a preprared hole in the light casing like a soda can. When they got to the nand when they got to the next one they reasoned that it couldn't be done because a joist was in the way. They said someone had to come in and move or modify the joist. I took one look at it and saw that we could just use one of the other two prefabricated holes. They were so used to procedurally doing the process that they could not adapt once something came up. They didn't understand what they were doing, they just know how to go through the steps. More to the point, i need to understand _why_ before doing. I need to make those connections. I also genuinely believe that learning why, and _then_ doing is much more effective than simply doing and trusting that you will explain things later. One thing at a time. Theres no reason to postpone the explanation. Nobody needs to write code they didn't receive an explanation for first.
@oLunatiko
@oLunatiko 3 жыл бұрын
Thank you freeCodeCamp and thank you Rayn for this vid
@b.k4142
@b.k4142 5 жыл бұрын
I write my first elvis operator fun main() { var a = 5 var b: Int = 10 val max = if(a>b) a else b println(max) val max2 = if (a > b ?: a) {println(max)} else {print(b)} }
@augustinehumphrey2227
@augustinehumphrey2227 3 жыл бұрын
Very excellent tutorial.
@sunnycriti9809
@sunnycriti9809 3 жыл бұрын
Thanks Ryan for your great explanation
@bekjanomirzak224
@bekjanomirzak224 3 жыл бұрын
OMG, I loved this course and the way you explained. Do you have extended course? I am ready to pay whatever you ask for :)
@templeOfChrist1994
@templeOfChrist1994 3 жыл бұрын
Where are you at now with Kotlin?
@johnroekoek12345
@johnroekoek12345 5 жыл бұрын
I'm having a hard time to find 'Resource in this lesson' for the first exercise 13:05. What link is the lesson? My English is not good.
@RealXFool
@RealXFool 5 жыл бұрын
In description under video there is link to download : Code. You open project and under src find one_three > kotlin demo file
@JulienReszka
@JulienReszka 5 жыл бұрын
@@RealXFool Thank you
@brandm5176
@brandm5176 5 жыл бұрын
Wow thanks a lot!
@chillbro2275
@chillbro2275 4 жыл бұрын
I'm so interested in Kotlin, but i have another path i'm pursuing, but man i wanna learn Kotlin.
@apdalrahman5142
@apdalrahman5142 3 жыл бұрын
Thank you Ryan for this great work very awesome , thank you so much again
@copsde2767
@copsde2767 4 жыл бұрын
val name : string = "bob" is so confusing way of coding, why Kotlin didn't followed the same principle as java and c#: =
@olajideoluniyi6125
@olajideoluniyi6125 5 жыл бұрын
Evening sensei.I am a newbie in the coding world and I absolutely love your teaching method..I have a challange ,the first code did not execute (intellij).. error index [0] is is out of bounds for length 0.. Please do you have any socialmedia handle...Twitter especially. Thank you
@DavidMadrigalHernandez
@DavidMadrigalHernandez 5 жыл бұрын
Not the guy in the video, but I can help you with that: ` error: index [0] is is out of bounds for length 0` So, for starters, we have to know what this is referring to. In this case, it is talking about the variable "index", which judging by the [0] after it, is likely being recognized as an array (think of it as a list of values that the computers indexes (or counts), and can look for. The "[0]" says "Item in the array in position 0". Confusing at first, but keep in mind that computers start counting from 0, not 1 like we humans do. SO that translates to "item at the beginning of the list". Finally, the last bit, "out of bounds for length 0" is pretty straightforward: the item cannot be referenced because it doesn't exits. Basically, its saying "I can't find the item at the beginning of the list because I have nothing in that list to look at." Hope that helps.
@baovu4062
@baovu4062 5 жыл бұрын
hope you fixed it already. If not, it is out of bounds because you didn't give it any argument. Ways to fix it: ----- Way 1 (you need to change arguments in configuration) : - In ItelliJ > Run > Edit Configuration > * If there is alreay a Kotlin configuration for Main.kt then add arguments for the app in "Program arguments". * If there is no configuration then Create a new one from template (Kotlin), name it, add "Main class" = Main.kt and add arguments > then Run --- Way 2 (run program in terminal as .jar and give arguments in command line ): - In IntelliJ > File > Project Structure > Artifacts > Add ( + symbol) > JAR > From modules with dependencies > Choose "Main Class" (if there is any class)> OK - Build > Build Artifacts - In terminal, locate where .jar file is (usually in out/artifacts), make it executable (for Linux: chmod +x file_name.jar) and run it with java (java -jar file_name_or_path_to_the_file.jar some_arguments)
@TurtlesWithAutism
@TurtlesWithAutism 5 жыл бұрын
go to your run configuration and then in the program arguments type in either + - * / and hit apply, then run the code again and it should work.
@b.k4142
@b.k4142 5 жыл бұрын
I know it s possible to modifie object stored in val ! how about variable ? May be i think for variable we have mutable variable and immutable variable for collection variable.
@gunveersandhu4954
@gunveersandhu4954 3 жыл бұрын
This is just beautiful.
@mrgreen9035
@mrgreen9035 4 жыл бұрын
3:36:00
@bren42069
@bren42069 4 жыл бұрын
Nice. So it's like python for the jvm 👍 i dig it
@j.n.d.p.5891
@j.n.d.p.5891 4 жыл бұрын
Thanks man apreciated
@JulienReszka
@JulienReszka 5 жыл бұрын
37:43 How do you pass the / symbol when running java -jar chap_six.jar / ? I get an error Same problem with * symbol edit : Seems that you need to escape / with / java -jar chap_six.jar // >1.25 Still doesn't work with the *
@jocharles57
@jocharles57 4 жыл бұрын
Four months late, but maybe it'll help others. I didn't have trouble with / but did with *. Surround the symbol with quotes on the command line: java -jar chap_six.jar "*" java -jar chap_six.jar "/"
@zsomborlakatos2522
@zsomborlakatos2522 4 жыл бұрын
Hey everyone! I am absolutely beginner and having some problem with runing my code in Android Studio. It works in the online enviroment but I don't know how to run it on my PC. I wrote it in a new Kotlin Script, when I run it the additional command bar pops up, I enter the command let's say "+" and then it shows an error mesage. I would really appreciate some help. Thanks in advance
@hitec1691
@hitec1691 5 жыл бұрын
please use dark theme in the IDE. its easy on the eyes
@JulienReszka
@JulienReszka 5 жыл бұрын
You shouldn't stay in a dark room it's bad for your eyes. Light Theme is the best theme, it's adapted to good working conditions, with good lighting in the room.
@aymansyria4303
@aymansyria4303 5 жыл бұрын
Thank you, very nice and useful
@NairodTheBeast
@NairodTheBeast 5 жыл бұрын
how do you enter command line arguments in android studio?
@goobar
@goobar 4 жыл бұрын
You can go to Preferences -> Kotlin Compiler or Preferences -> Build,Execution -> Compiler and add additional command line options
@Dev-ry9cx
@Dev-ry9cx 5 жыл бұрын
Good video! Enjoyed it! I am making some JS content as well!
@МарияДумич-щ5у
@МарияДумич-щ5у 2 жыл бұрын
really interesing (да да))
@mateusoliveira2776
@mateusoliveira2776 3 жыл бұрын
someone gift this handsome man a degree immediately
@JavaAidTutorials
@JavaAidTutorials 5 жыл бұрын
Nice
@_rachid
@_rachid 5 жыл бұрын
Thank you !
@krishnachoudhari.youtube
@krishnachoudhari.youtube 2 жыл бұрын
"Blin" means "pancake" in Russian! :)
@abdulhaseebshaikh3240
@abdulhaseebshaikh3240 4 жыл бұрын
I have a Question: fun main(args: Array) { println("Hello, world!") val a= UserData("Abdul Haseeb",,true,26) a.displayData() } public class UserData ( val name :String, val fName :String ="Abdul Latif", val male :Boolean, val age :Int ) { fun displayData() { println("your name " + name + System.lineSeparator() + "your father name " + fName + System.lineSeparator() + "your sex is male ? " + male + System.lineSeparator() + "your age " + age) } } val a= UserData("Abdul Haseeb",,true,26) in this line i don't want to give value in the second argument as i want to display the default value so how to do?
@Osmanity
@Osmanity 3 жыл бұрын
keyboard makes to loud noise...
@radiotory
@radiotory 5 жыл бұрын
20:33 Вот ты и спалился 👇👍😄
@stazyxtnom4514
@stazyxtnom4514 5 жыл бұрын
Агент кремля) или баба наша
@adeni4359
@adeni4359 5 жыл бұрын
Can you also share an android tutorial?
@wiseAss
@wiseAss 5 жыл бұрын
There's a good chance I will share an Android tutorial in a few months time here. I have hundreds of hours of Android tutorials on my channel though; so consider checking it out.
@radiotory
@radiotory 5 жыл бұрын
Хотел просто посмотреть и не заметил как прошло 45 минут
@radiotory
@radiotory 5 жыл бұрын
@Roustem Fa да. Посмотреть можно. Но лучше сразу практиаоваться параллельно.
@elton486
@elton486 5 жыл бұрын
TKS.
@vanithb6630
@vanithb6630 5 жыл бұрын
codeigniter full tutorial
@gonzalo12328
@gonzalo12328 5 жыл бұрын
Try with laravel
@SajeelCodes
@SajeelCodes 5 жыл бұрын
Kotlin is an android development language used to open the bottle cap when cap opener is unavailable Lol
@yadneshrane4123
@yadneshrane4123 5 жыл бұрын
" Love you form India "
@Jeetu0301
@Jeetu0301 2 жыл бұрын
This video was published on the date, when 370 was abolished in Jammu and Kashmir. Interesting!!
@d3ep
@d3ep 2 жыл бұрын
Bhai, itna kya interesting hai usme?
@TheINDIAN
@TheINDIAN 5 жыл бұрын
I understood nothing I got more and more depressed and shocked till the end of this 4hr video. js and python was understandable .
@viennasovello4623
@viennasovello4623 5 жыл бұрын
Don't worry, someday u will think about it as the easiest thing in ur life!
@TheINDIAN
@TheINDIAN 5 жыл бұрын
@@viennasovello4623 is this something like learning a stick shift car you have to keep trying and gradually one can be good at it. I just could not get anything. Not one bit
@viennasovello4623
@viennasovello4623 5 жыл бұрын
@@TheINDIAN maybe you are not ready for this right now. Although JS is an awesome tool that handles everything (and mobiledev too)
@TheINDIAN
@TheINDIAN 5 жыл бұрын
@@viennasovello4623 Mosh Hamedani's channel got me into js , python,Java .
@Manu-ok8kq
@Manu-ok8kq 4 жыл бұрын
ESPAÑOL POR FAVOR :(
@Osmanity
@Osmanity 3 жыл бұрын
Here you have some constructive criticism for educating purposes: The event driven part was really poorly "explained" (and many other parts as well), the way you jumping around is so confusing and not a good way of teaching, this whole video feels more like show off rather then educating... redo the video in the sence that you are teaching explaining the small stuff too, ask other some maybe family member that does not know how to code for video review and then you would se the holes you might have not notice to explain...
@Osmanity
@Osmanity 3 жыл бұрын
where did the "good way of coding example of seperation of concern" go???, if you show bad way of coding show the other way of coding in correct manners...
@Osmanity
@Osmanity 3 жыл бұрын
why do you not prove your code by simply running it and test it, dont just talk and talk show the result by testing, is that really so hard?
@Alphabet_-_
@Alphabet_-_ 5 жыл бұрын
#dishwasher app
@mikeb8893
@mikeb8893 4 жыл бұрын
your constant rambling and jumping around is the worst. 60min in I'm done. I know several languages but I cant follow you for jack
@xxx-cr6fq
@xxx-cr6fq Жыл бұрын
Everytime i watch, it hits even harder *_*
@Goodvibes-no9rp
@Goodvibes-no9rp 5 жыл бұрын
Nice
APIs for Beginners - How to use an API (Full Course / Tutorial)
2:19:33
freeCodeCamp.org
Рет қаралды 4,4 МЛН
Kotlin Crash Course for Java Developers
1:01:51
Coding Master - Programming Tutorials
Рет қаралды 76 М.
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
Most Commonly Asked Questions by Aspiring Data Analysts
11:58
Alex The Analyst
Рет қаралды 2,5 М.
Microservices are Technical Debt
31:59
NeetCodeIO
Рет қаралды 696 М.
Redux Tutorial - Learn Redux from Scratch
1:34:53
Programming with Mosh
Рет қаралды 1,1 МЛН
All Rust features explained
21:30
Let's Get Rusty
Рет қаралды 329 М.
Video Game Hacking using Kotlin/Native by Ignat Beresnev
20:36
Kotlin by JetBrains
Рет қаралды 16 М.
Learn GO Fast: Full Tutorial
1:07:53
Alex Mux
Рет қаралды 511 М.
Kotlin For Java Developers Complete Course
6:04:26
Nerd's lesson
Рет қаралды 41 М.
The Only Unbreakable Law
53:25
Molly Rocket
Рет қаралды 343 М.
When Optimisations Work, But for the Wrong Reasons
22:19
SimonDev
Рет қаралды 1,1 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН