Discussion

Ask HN: Is Recursion Worth It?

Is recursion really worth it? My CS teacher told me to avoid recursion when possible.

Apparently recursion takes up more memory space than nested for loops (I'm talking about 4-5 for loops) and I lose grades for the same.

14 points nigamanth 3 years ago 44 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton