Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jzwinck
on April 27, 2016
|
parent
|
context
|
favorite
| on:
Node.js v6.0 Released
That explicit tail recursion syntax is pretty gross. Is there a precedent in any other language?
Havvy
on April 28, 2016
|
next
[–]
Rust has plans for a `become` operator for tail call optimization.
endgame
on April 27, 2016
|
prev
[–]
Clojure's recur is kinda-close, I guess?
preek
on April 27, 2016
|
parent
[–]
It is, but Clojure uses it, because it cannot really do Tail Call Optimization due to constraints on the JVM. Therefore "recur" is required to keep the Stack from overflowing.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: