Hacker News new | ask | show | jobs
by KingMob 3433 days ago
Why not just make it a dev/production flag, then?
1 comments

Probably because many tail-recursive functions _rely_ on tail-call elimination working reliably. Without also having an unbounded call stack, disabling tail-call elimination will likely just cause your programs to crash.