DEV Community

Cover image for One Byte Explainer: Recursion
Jon Randy 🎖️
Jon Randy 🎖️

Posted on

One Byte Explainer: Recursion

This is a submission for DEV Computer Science Challenge v24.06.12: One Byte Explainer.

Explainer

To understand recursion, see here.

Top comments (11)

Collapse
 
peter profile image
Peter Kim Frank •

🥁🙌

Collapse
 
sebastiandevelops profile image
Sebastian Van Rooyen •

System.StackOverflowException: 'Exception of type 'System.StackOverflowException' was thrown'

Collapse
 
muhammadanas8 profile image
MuhammadAnas8 •

Wow! For the first two times i was confused whats that happening then I understand its recursion 😁

Collapse
 
ashleyd480 profile image
Ashley D •

Love this @jonrandy! So creative! 😂 I had just learned about this concept recently, and now with your funny example, it will help the concept of recursion to further stick in my mind. ❤️

Collapse
 
pachicodes profile image
Pachi 🥑 (she/her) •

Lol 😆

Collapse
 
jahid6597 profile image
MD. JAHID HOSSAIN •

That's quite impressive!

Collapse
 
ynvshashank profile image
shashank •

that was a simple yet great example loved it...

Collapse
 
johnny_chen_641eb3379fca0 profile image
Johnny Chen •

Cool one! It takes me 2 seconds to understand the point!

Collapse
 
n3rdnerd profile image
N3rdNERD •

^^ funny

Collapse
 
sadabazhar profile image
SADAB AZHAR •

Love this! 😂 Perfect way to get the idea of recursion stuck in our heads!