by bigbacaloa · 4y ago · 0 comments
Also it's a good illustration of how useless recursion is in practice.
The cause of failure in this case has nothing to do with recursion.
IMHO we don't teach compsci kids enough about the costs of things - new vs. * for example
It's also useful to learn that despite the love of recursion among computer scientists, in practice it's barely if ever a good idea.