Comment

Comment by devd00d

I've run into a few cases where recursion was the only logical way to do it. For example, printing out a nested tree as a menu. It should only be used when necessary because if you don't know what you are doing, you can easily create a function that runs much longer than it should.
parent devd00d 3 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton