Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



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.


I prefer to recurse my iteratives

Much easier!




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: