logoalt Hacker News

groundzeros2015yesterday at 12:55 PM2 repliesview on HN

Js really should have it. I think the shift in style from functional and manual prototype chains to Java classes is quite disappointing.


Replies

chuckadamsyesterday at 3:27 PM

Technically TCO is still in the spec, TC39 deadlocked over modifying it. TC39 really does not fill me with confidence in general.

webstrandyesterday at 6:21 PM

ES6 class syntax is still mostly just syntax sugar overtop prototypical inheritance.

JS _does_ still have TCO (called Proper Tail Calls), Safari's JavaScriptCore implements it, and is technically the only conforming interpreter.

show 1 reply