News for hackers. Stuff that matters.
Re:Node 8.3.0 released by mercer on Thursday August 10, 2017 @03:47PM (#14983427)
Could you elaborate? Based on my experience with functional(-style) programming in Clojure and Elixir, tail calls are important enough that, worst case scenario, they might even warrant their own syntax addition (like with Clojure's recur?).

I might be way out of my depth here though; I couldn't quite grok the discussion in your link. Is there's a way perhaps you could 'ELI5' why it's pragmatic to ignore this issue?

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.
Re:Node 8.3.0 released by jnbiche on Friday August 11, 2017 @02:16PM (#14992710)
> 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.

Re:Node 8.3.0 released by coldtea on Sunday August 13, 2017 @11:29AM (#15003280)
>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.

Re:Node 8.3.0 released by jnbiche on Monday August 14, 2017 @08:05AM (#15008058)
It did make it to ES6, but the engines failed to implement the spec.