News for hackers. Stuff that matters.
Re:SICP Goodness – Why you don't need looping constructs by acjohnson55 on Thursday July 05, 2018 @07:16PM (#17467687)
Yeah -- in some nontrivial recursive situations, you might have multiple base cases or different 0 and 1 cases. I've just often run into situations where testing my algorithm reveals that one of the cases isn't exactly right, and therefore the result doesn't match expectations. It's much more difficult to get a `map` wrong, though. What could possibly go awry? I guess the moral is, more power, more responsibility, so it's best to save power for when you absolutely need it.

There are no comments on this comment yet.