News for hackers. Stuff that matters.
Re:Ask HN: Functional Programming Differences by loup-vaillant on Monday March 08, 2010 @03:45AM (#1175008)
The poor guy was stuck because he though: how do I build my sub-list? Without side effect and this way of thinking, of course he was stuck. The example you have shown demonstrate you wondered what would be a simpler equivalent expression ("simpler" meaning "eventually trivial", of course).

If you think "what", recursion is easy. If you think "how", recursion is magic. I think that is the biggest leap. I forgot how I made the jump, however.

There are no comments on this comment yet.