Re:Node 8.3.0 released
by coldtea on Friday August 11, 2017 @07:33AM
(#14988553)
It's pragmatic because adding proper tail calls in the JS engines is difficult and raises several issues (lost stack frames, memory guarantees, etc.) but we were able to survive 20+ years without having them in JS, so it's not like they are essential.
[ Parent
| on HN ]
> we were able to survive 20+ years without having them in JS, so it's not like they are essential.
And voila the attitude I was referring to, it comes out. Recursion is pretty damn essential to functional programming, and like it or not that's the way JS is headed.
>and like it or not that's the way JS is headed.
Well, like it or not, recursion did not make it to ES6/ES7.