4 ms·
Also tail call optimization changes the semantics of the language - it allows you to write code that would normally be incorrect
by dantheman 16y ago
Also tail call optimization changes the semantics of the language - it allows you to write code that would normally be incorrect
- crux_ 16y agoTrue, although you have to be careful about "incorrect": the code will still compile (unless there's some corner case I'm missing?), so for that particular definition of correctness it is just fine without TCO. It just won't run (for very long). :)
- dantheman 16y agoI agree, but compilation is a low barrier for correctness :)