3 ms·
CL's iteration primitives are more capable that those provided by most languages, which often makes for a very clean approach. Recursion is sometimes the easi
by ska 3y ago
CL's iteration primitives are more capable that those provided by most languages, which often makes for a very clean approach.
Recursion is sometimes the easiest way to reason about a problem though, so it's nice to have decent support and TCO.
- epgui 3y ago> Recursion is sometimes the easiest way to reason about a problem though Yes, it's one of the things that allow FP algorithms to be more declarative. It's difficult to seriously argue that recursion is fundamentally more complex-- the contrary argument is more obvious to me. Everything that's left is the fact that it requires people to unlearn things, which is uncomfortable and requires effort, but unfamiliarity is not an indicator of complexity.