On 06/07/2013 11:59 PM, ben wrote:
What
do you see as the biggest obstacles for adopting the FP
abstractions in "everyday programming thought"? I assume unlearning
previously-learned ways of approaching problems? (iterators vs.
recursion, etc)?
I have no problems with iteration or subroutines, so why do we need recursion?
It's just a matter of which construct expresses your intent more clearly.
That is not to say for a quick and dirty program
I'll use it if need be,
but the problem with general recursion is stack overflow and how do you
handle that?
With well-defined exit conditions. ;)