What is Recursion? | Code and Programming for Beginners 12 of 28 | Study Hall

preview_player
Показать описание
Although we tend to think of computer programs executing in a tidy path from input to output, a simple trick called recursion lets us twist computer programs into repeating themselves. As weird as it sounds, recursion can actually help keep our code readable, manageable and easier to change down the line!
__________________________________________________________________________
Want to get a head start on college and start earning credit now?

Follow us on social media!
__________________________________________________________________________
Chapters:
0:00 - Introduction
0:51 - What’s recursion?
2:14 - Methods and repetition
4:12 - Using recursion for repetition
6:10 - Taming recursion
7:30 - How things change in a recursive loop
8:31 - Conclusion
__________________________________________________________________________
#StudyHall #Coding #Programming
Рекомендации по теме
Комментарии
Автор

Omg, it’s Sabrina! My worlds have collided

sillygoofymovies
Автор

Reminded me of code I was writing to hunt and search for words in a word search in any direction. Lots of Recursion looping around each letter looking for the next letter and bailing out when the letter didn't match, but if it did match it would keep going, checking the next letter.

DeluxeFlame
Автор

I love using recursion in programming to feel smart. Recursion is the semicolon of programming.

cuomostan
Автор

Great video! What determines if you use recursion vs a for or while loop?

craigreustle
Автор

I love this course and the Finding Nemo reference was amazing. But...I just noticed the hanging keyboard in the background is crooked and now I have to rewatch the video because I got too distracted 😂🙃

youknowyoulovekatie
Автор

P. Sherman, 42 Wallaby Way, Sydney :)

NoBodyToDanceWithMe