3 ms·
Yeah, tail call elimination, is definitely doable. Python famously does not have it because "Language inventor Guido van Rossum contended that stack traces are
by Epa095 7mo ago
Yeah, tail call elimination, is definitely doable.
Python famously does not have it because "Language inventor Guido van Rossum contended that stack traces are altered by tail-call elimination making debugging harder, and preferred that programmers use explicit iteration instead".
https://en.wikipedia.org/wiki/Tail_call https://en.wikipedia.org/wiki/Tail_call