logoalt Hacker News

naaskingyesterday at 11:37 PM2 repliesview on HN

If the language spec requires TCO, I think you can reasonably call it part of the language.


Replies

teo_zerotoday at 1:48 AM

It wouldn't be the first time the specs have gone too far and beyond their perimeter.

C's "register" variables used to have the same issue, and even "inline" has been downgraded to a mere hint for the compiler (which can ignore it and still be a C compiler).

show 1 reply
tracker1today at 4:44 PM

IIRC, ES6+ includes TCO, but no actual implementation/engine has implemented it.