The ‘Obvious’ Optimization That Broke JavaScript and Stalled C
You write a perfectly elegant recursive function, and it crashes with a stack overflow. Tail-Call Optimization should fix this, but it’s missing from C and was ripped out of JavaScript. The reason isn’t technical laziness. It’s a conceptual break: TCO fundamentally destroys the implicit contract between the programmer and the debugger, trading stack traces for theoretical purity.