News for hackers. Stuff that matters.
Re:Ask HN: Is Recursion Worth It? by 082349872349872 on Friday January 27, 2023 @01:43AM (#34543323)
As given above: in a dogmatic systems department, recursion is to be avoided because its naive implementations use more machine resources than their equivalent loops; in a dogmatic theory department recursion is to be avoided because it is more difficult to prove properties of potentially unstructured recursions than of structured folds.

The dogmatic systems department wishes to replace recursion with something more concrete; the dogmatic theory department with something more abstract.

Re:Ask HN: Is Recursion Worth It? by shoo on Friday January 27, 2023 @03:45AM (#34543992)
we can form a committee from both departments, and after enough iteration, they may agree to a compromise that annoys everyone equally: replacing recursion with recursion.
Re:Ask HN: Is Recursion Worth It? by warrenm on Friday January 27, 2023 @08:43AM (#34545866)
I prefer to recurse my iteratives

Much easier!