Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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


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


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.


Yes but the syntax encourages patterns which would be uncommon in pre-ES6 JS.

I can’t rely on TCO if chromium doesn’t have it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: