News for hackers. Stuff that matters.
Re:TypeScript 3.4 by chessturk on Saturday March 30, 2019 @07:25PM (#19532625)
It only gets interesting to me when browsers (or for that matter node) get tail-call optimization.

Until then iteration makes way more sense than recursion in JS.

Re:TypeScript 3.4 by vimslayer on Sunday March 31, 2019 @01:48PM (#19536993)
I don't quite understand what that has to do with the parent commenter's language suggestions. Simple TCO is easy to implement in the compiler level. ReasonML, for example, is quite capable of optimizing the usual recursive fibonacci example into a while loop [1].

[1]: https://reasonml.github.io/en/try.html?rrjsx=true&reason=DYU...