If you’re new to programming but want a career in tech, I HIGHLY RECOMMEND applying to one of Springboard’s online coding bootcamps (use code ALEXLEE for $1,000 off): bit.ly/3HX970h
@evinhendry35604 жыл бұрын
Universities, pay to use websites, overpriced textbooks, Udemy courses, exclusive courses: People have to pay hundreds or thousands of dollars to learn even basic Java and it's going to be several long years of study to even get past the introductory phases. Alex Lee: Hold my beer.
@alexlorenlee4 жыл бұрын
Evin Hendry :)
@thaminduKavinda4 жыл бұрын
That's True
@cyclingroutesSCOTLAND3 жыл бұрын
So would you be a patron for him?
@mrboyban3 жыл бұрын
Tell me..... Enrolled this so called top 30th best CS universities in the world. So disappointed tubes of money thrown at it and all you get back is self-study. Capitalism just turned to be a piss taken.
@ninjaninja99542 жыл бұрын
This is good as an intro but not good enough for an exam question or interview. You may feel you get it but now write a fibonacci sequence and see if you can do that i bet you can't
@FunnyDubz14 жыл бұрын
You're so enthusiastic and you never make me feel bored while learning how to code! I usually don't comment on videos but you sure deserve it!
@tommieogrady5 жыл бұрын
I 've tried and seen a lot of java tutorials both free on utube and others you have to pay for. Without doubt these are the best by a long shot.
@_________________4044 жыл бұрын
Well yeah, this tutorial is not bad, but it's definitely made for "java beginners". For example, when the StackOverflow exception appears he saids that "The computer can't handle it" which is wrong because the computer can handle it, it's just the program stack being overflown. Program stack size is the limitation, not the computer hardware..
@joeatefabdullah40954 жыл бұрын
@@_________________404 okay wow, computer genius.... bet you cant explain as good as this guy over here
@_________________4044 жыл бұрын
@@joeatefabdullah4095 Well no, I'm not saying that he's wrong. When I was learning about recursion, it was important for me to understand how the program stack works, because it then all makes sense. He ignored the topic of program stack in this video in order to make it more beginner friendly, but I'd say that it's very important to understand how the program stack works if you want to fully understand recursion.
@_________________4044 жыл бұрын
Error Yeah sure, I don’t give a fuck about 5 month old comment anyway.
@luisishere9873 жыл бұрын
jonasxdufek you say that but you took time out of your day to reply lmao
@harryghotra77844 жыл бұрын
dude your such a good teacher literally saving me for my exam!!!!
@sebastiendemonty9603 жыл бұрын
that is true. he is the best teacher ever!
@sebastiendemonty9603 жыл бұрын
that is true. he is the best teacher ever!
@ValoFranceClips2 жыл бұрын
How can it save your exams... If u dont even know that hat are u doing here in this university ?? People are not even working alone by themselves today...
@midnight45692 жыл бұрын
@@ValoFranceClips Everyone learns differently and at different speeds. Some people can figure things out by themselves just fine, and other people learn better when something is explained to them by someone else in a certain way. Just because someone learns differently from you doesn't make them stupid or incapable of becoming a programmer. The fact that they're here trying to learn instead of asking for a classmate's code to turn in is actually a really great sign imo.
@erereeerefgdg Жыл бұрын
@@ValoFranceClips 10/10 English
@evnoww4 жыл бұрын
Thank you so much! you managed to make two 2hr classes make sense in 9mins ! life saver
@Zinab88503 жыл бұрын
Did your teacher take 2 hours to explain recursion?
@icey_john2 жыл бұрын
@@Zinab8850 my teacher can't explain recursion
@life-tech-talks2 жыл бұрын
@@icey_john 🤣🤣
@AsianBoiii15 жыл бұрын
I absolutely love all of your videos!! You go straight to the point and explain in a way anyone can easily understand. It removes the fear in me when I start coding Congrats on your 10k! Next stop, 100k!!
@alexlorenlee5 жыл бұрын
Hong FuMagic thanks! :)
@ashuumudunuri37603 жыл бұрын
recursion were a nightmare ..but after this video it has become day dream ps:btw ur flips r great...good progress
@MULTIFACEPLANTER3 жыл бұрын
5:39 - "So here's what's happening..." then proceeds to explain to me that content that my lecturers couldn't in 2 months of classes in about 40 seconds.
@bon783 жыл бұрын
IKR???
@frozen_waffle16885 жыл бұрын
Awesome! You deserve more credit for this!
@Joe-km7xi4 жыл бұрын
5:38 explanation is SO helpful and makes it much easier to understand. Love the videos man :)
@eliseziemer41453 жыл бұрын
You broke recursion down so well that I understood on the first try. Thank you so much!!
@rittenbrake16134 жыл бұрын
2:41 "it seems like we got a brunch of hi s" 😂It sounds funny, I hope that's my social life be like
@flyetimadtravel21574 жыл бұрын
I started learning coding after Corona virus Pandemic and I will say this is best channel to learn java. Thank You
@d.n.ctalop55604 жыл бұрын
Can you use the for statement instead? Btw love your videos
@jayhowes8475 жыл бұрын
Thankyou so much for actually explaining why things have to go where they go! Watched 5 videos before this that didn't help. Yours got me to the right answer, thanks again!
@kaleido60963 жыл бұрын
I wish I’d known about Alex at the beginning of the semester. My final is in a few days. :(
@aiandesilva64163 жыл бұрын
same bro lmao
@humawaseem5764 жыл бұрын
man this is so clear , thank you!!! please keep making these easy videos for people like us.
@ericchu65035 жыл бұрын
I know I can always rely on your videos for a top notch explanation!
@eliyahomar4 жыл бұрын
you are unbelievable, Thank you so much for making things such simple to understand
@sainathareddym84843 жыл бұрын
Great explanation bro love you 😘
@javaprogrammer-org4 жыл бұрын
When did you start tutorials and JavaFX I am curisously waiting.
@oliverstivers59672 жыл бұрын
So, I noticed that all of the examples in this video could easily be done with a for loop instead. What are the advantages, if any, of using recursion, as opposed to a for loop?
@ZZetsu4 жыл бұрын
Alex, do ASMR video with your keyboard. it gave me eargasm
@nayandeep8810 Жыл бұрын
dude thank you so much!!!!!!!!
@valsant44 жыл бұрын
by far the most helpul videos. thank you alex for making this so simple :')
@billfuentes79897 ай бұрын
THANK YOU! In 9 minutes you helped me understand the 18th chapter of my textbook! Thanks Again!
@shadmilkgod71153 жыл бұрын
public class Main { public static void main(String[] args) { insideA("a method"); } public static void insideA(String string) { System.out.println(string + "being called inside of itself "); insideA("being called inside of itself "); } }
@GoodGirl8803023 жыл бұрын
I find your Java tutorials very helpful. I'm sorry you have stopped making them. Wish you the best :)
@adog67042 жыл бұрын
So it’s a more complex loop
@theresafischer70053 жыл бұрын
Hey Alex! I love your tutorials! Because you explain everything from bottom up and tell us WHY you're doing WHAT
@rahulboby77542 жыл бұрын
Instead of doing this: n--; sayHi(n); you could do this: sayHi(n--); basically, decrimenting the value of n while calling the methode at the same time. Have a good day :)
@tyw__2 жыл бұрын
Saving me in my Comp Sci 30 class bro. My teacher just gives us assignments with PDFs to read. He doesn't even actually know how to program 😭
@arianaaa24693 жыл бұрын
thanks you really helped me out for my exam! definetly subscribed! greetings from Bavaria, Germany :)
@stevesalesforcedummy93213 жыл бұрын
How do I get it so that a piece of code is repeated UNTIL a desired outcome? For example, if I have a random number generator on a loop (let's say the limit is 10), and I want it to STOP once a 9 is generated.
@jadesimonson82533 жыл бұрын
Reigniting my fire to keep learning to code when I get stuck! Thank you so much for all of these videos!
@favour54424 жыл бұрын
Nice ...... but what happened to your keyboard camera there......I love seeing it
@DavidBartenstein3 жыл бұрын
Hi Alex, could you please explain why the recursion stops after hitting the basecase instead of just infinitely printing out "Done!"?... I would think that the method would keep calling itself unless specificly asked to snap out of it?
@nuelzemudio8833 жыл бұрын
I always used (n-1) instead of n-- I've never thought of using n-- tbh. It might have been the problem
@greenleaph51453 жыл бұрын
Hmm I see, but wouldn't it be a lot simpler to just use a for loop? Why use recursion instead of a for loop?
@blueballedtech3 жыл бұрын
Oh, this is an excellent breakdown of an oftentimes tricky subject for many(like myself).
@yongfulu89843 жыл бұрын
Hello, I have question. I don't see you have a Main class in your project and you can still run your code, but when I run my project like this, my IDE says I need to have a Main class, why is that ?
@maherwrites89313 жыл бұрын
alex when you'll be making videos on data structures???????
@andrewshatnyy3 жыл бұрын
This explanation is ok for a simple case. I think the majority of devs get tripped at the Real use cases such as the knapsack problem. The problem where you would consider a result of the recursive call while splitting a decision.
@joethompson81473 жыл бұрын
fantastic explanation of recursion. If you see recursion being taught with "Fibonacci sequence "as the first illustration, forget that and use the 2 examples here.
@hemanthk25613 жыл бұрын
Ur teaching is so good🥰, Your awesome bro, love from india ❤️...
@ZauriaTaylor-z4i9 ай бұрын
I genuinely thought I would never understand this omg thank you !! :'D
@Pheyden2 жыл бұрын
I've learned more in a week of watching your videos than in my entire Beginning Programming semester. Thanks.
@migi94022 жыл бұрын
You are my hero.
@hera82474 жыл бұрын
thank u so so so much .
@joshuajamescalba4 жыл бұрын
I watched this video the day before my exam, and I got a question about how to make recursion on my exam. This video really helped me boost up my grades, thank you, Alex, for this video tutorial, I appreciate this so much, it's such a blessing
@gravity_gaming_017 ай бұрын
You're so enthusiastic and you never make me feel bored while learning how to code! I usually don't comment on videos but you sure deserve it!
@hime97443 жыл бұрын
you are a saviour
@akshayburra66294 жыл бұрын
BRRRRRRRRRRRRRRRRRUH, thanks so much, u saved my liFe Omg oMG omg
@malinedvardsen96153 жыл бұрын
I'll have to credit you in my bachelor thesis haha
@jamestuttle3 жыл бұрын
What is the background music you have going on? I like it for a light sound in the background as I study - can you clue me in on the music? :)
@sarinestephens45932 жыл бұрын
Thank you so much, you literally just saved me for my final tomorrow!!
@flowever3 жыл бұрын
I wanted to cry because of this topic but you know what I really like this channel since you are teaching nicely compared to my professor :) thanks a lot
@kevon984910 ай бұрын
This is fun until you teacher asks you to solve some kinda trace through....
@eseosaataga2 жыл бұрын
The first statement already made me like the video. I'm in college and recursion is about to screw me up in my finals in 2 days time.
@its24673 жыл бұрын
You are an actual life saver man, a god send. I should just set all of your videos on autoplay and take notes on that rather than watching the brain numbing, poorly thought out lectures that my teachers are dumping on me.
@KiraSantosRandom4Life3 жыл бұрын
Thank you. Learning java with this and Caleb.
@leoulfitness2 жыл бұрын
Keep doing what you are doing Alex! These videos are truly helping me out immensely!
@lesterdude9993 жыл бұрын
Seems easy enough.. a 2 hr class in less than 10 minutes.... fckin love college.
@arturodelfuturo3 жыл бұрын
What makes a method recursive? is it the "public static" beginning?
@rawwr29272 жыл бұрын
A few seconds in and I'm already laughing. I'm in my first year and it's the same.
@jinju37854 жыл бұрын
Thanks Alex 👍 its been my 7th visit in your channel reallt help dude thanks 😊
@AwsmAyumiiKa2 жыл бұрын
Started my second semester this March and I am so, so, so thankful for all of your videos! 😭 I had to miss a lot of lessons in programming last semester since I've got sick for a couple of weeks and couldn't catch up on everything (and still struggle because of it) But your explanations are great, they're short so my ADHD brain stays focused, your examples are great, and my frustration (and anxiety) stays low. 🙈 Programming is fun and your videos do help me to maintain this mindset and keep trying 💪🏻
@akhabalasi62522 жыл бұрын
Thankyouu bruh, this mean a lot for me. keep spirit make a lot of Java tutorial, we all love this
@lilybohr2 жыл бұрын
This video saved me in my java class. Recursion seemed so confusing until now.
Can anybody explain why we need recursion when we can use the "for" loop to achieve the same result?
@Jonathan-rn6rq4 жыл бұрын
Apparently is it supposed to be clearer and more intuitive than For Loops, where For Loops involve less memory and faster processing. But from my understanding (limited so far), you can achieve the same thing with either of Recursion or For Loops.
@aaahhh11804 жыл бұрын
@@Jonathan-rn6rq Thx
@miracle_of_india2 жыл бұрын
sir is it necessary to learn java.swing in order to be android developer ?
@mohamedzindha28503 жыл бұрын
I am so glad I found this video, you saved me a lot of time.
@jagadishkadraka86443 жыл бұрын
I was reading the book and like wth! Thanks for the explanation.
@vansh98572 жыл бұрын
So clearly explained, Thank you so much!
@rajatsemwal18653 жыл бұрын
Damn! That was smooth AF...
@donnaa.7662 Жыл бұрын
im 15 years old and i find it cool that teens in dual enrollment learn this stuff in highschool provided by the school
@iamali92934 жыл бұрын
this is the best java tutorial I've seen. I watch you from Iran.
@977boss94 жыл бұрын
Can please make any videos explaining multithreading ?
@icchigoat2 жыл бұрын
Is the function always called in the else part of the base case? Or it is just mostly the case
@keeprunning5457 Жыл бұрын
nice video but i dont understand why/when to use recursion instead of different code thanks!
@zackalvey64172 жыл бұрын
Saved my butt when I fell asleep during the lecture about it
@JamesJohnson-sv4cp10 ай бұрын
BEST CHANNEL ON KZbin HELEPED SO MUCH FOR MY JAVA EXAM
@rw45643 жыл бұрын
bro your vidoes are saving my studies i sawer XD thank you so much
@auxygen244 жыл бұрын
Thank you so much...oh yeah I just subscribed
@mhy923 жыл бұрын
thanks bro normally after every 2-3days of programming i feel it very difficult even those concepts which i already covered.Then when i am worried i watch your tutorials and there it is i got it ,again, thank you so much.TRUST ME I AM NOT BUTTERING😂😂😂😂😂😂.keep it up. if i speak specificially i was confused that what is recursion(offcourse a nightmare) but now i have an idea of what is it thanks again and keep it up again😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂
@Believer1995ofGod3 жыл бұрын
For some reason my "done" statement keeps priting at the top but it should print at the bottom?
@hj59595 жыл бұрын
You are a life saver
@InspireUplift2892 жыл бұрын
Great explanation, best wishes from india
@JossOwX3 жыл бұрын
Thank you, you beautiful Java God
@iakoak82892 жыл бұрын
I want you to sit down next to me and explain everything :D
@n95832 жыл бұрын
Why do you use recursion when you can just loop n number of times
@marcschillinger4924 жыл бұрын
Great video 😊 🙏🏻
@riamatapurkar68444 жыл бұрын
Ohmigod this is brilliant, after watching your video something clicked and I'm actually understanding everything now
@nathan49754 жыл бұрын
👍🏽
@hrtghrtfgref26792 жыл бұрын
thank you! you always helps me! keep the good work!