DEV Community

Discussion on: Why YOU should learn Recursion

Collapse
 
aurelmegn profile image
Aurel

Recursion is good but as the others say, it can bring a lot of problem if the programmer doesn't do it well, one of the problem it can create if the explosion of the call stack if the depth is too deep.

Collapse
 
softchris profile image
Chris Noring

yep, seen that happen for sure. Like with all software some of it can be fixed by tests and sometimes it says something about your data that you didn't expect