Heh. I still remember in my first Comp Sci class, in C, I had to take
a 2-line recursive tree traversal...and write it iteratively (in like
50 lines).

On 2/6/07, Dan Piponi <[EMAIL PROTECTED]> wrote:
I've always found recursive solutions to problems elegant and I've
always been fed up of people telling me that I should rewrite
recursive solutions iteratively. (Annoying as it is, many people do
that.) I complained about this on K5 and solicited some opinions from
others on whether or not they would choose the recursive or iterative
solutions to problems. Someone called jacob said something like "why
choose when in Haskell they're the same thing?". Guilt-free recursion!
That was the turning point.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to