paint-brush
Python Tutorial: Recursive Function Debunkedby@physboy
340 reads
340 reads

Python Tutorial: Recursive Function Debunked

by Nikita Vasilev4mSeptember 12th, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Recursion is one of the most impactful principles in computer science and a BFF for coders and data scientists alike. Recursion can be helpful for solving lots of programming problems such as tree-like data structures. There are quite a few downsides you need to take into account. Recursions must have a boundary or limit, i.e. the instance when the function stops calling itself, since boundaries prevent looping. Recursion isn’t a one size fits all solution, since they have a cost in stack space which leads to much more limited resources.

Company Mentioned

Mention Thumbnail
featured image - Python Tutorial: Recursive Function Debunked
Nikita Vasilev HackerNoon profile picture
Nikita Vasilev

Nikita Vasilev

@physboy

Data engineer, python tutor

About @physboy
LEARN MORE ABOUT @PHYSBOY'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Nikita Vasilev HackerNoon profile picture
Nikita Vasilev@physboy
Data engineer, python tutor

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Newsbreak
Businessprocessincubator
Samtigis
Dkjjk