News for hackers. Stuff that matters.
Re:When Functional Programming Isn't Functional by seanmcdirmid on Monday April 02, 2018 @01:21AM (#16732505)
Ya, I noticed that also. Actually, the basic recursive version would be functional and concise, why did they go with the functional origami version instead?
Re:When Functional Programming Isn't Functional by hardlianotion on Monday April 02, 2018 @02:45AM (#16732790)
I think the point is with the basic tail recursive copy it is easy to blow the call stack with the number of function calls needed.