Re:Node v6.6.0
by michaelsbradley on Thursday September 15, 2016 @09:34PM
(#12511324)
Well, I'm not sure which one is the case, sorry to say (TCO or bigger stack limits, or both). I was only taking a guess as to why the mutual recursion example works for very large values in node v6.x but not in v5.x. But yes, if tail call optimization is guaranteed, then functional programming patterns can certainly shine the brighter for it.
That is great to hear. Now we can finally start really doing functional programming in JS. Too bad about the generators, though.