r/ProgrammingLanguages • u/gofl-zimbard-37 • Jan 18 '26
Why not tail recursion?
In the perennial discussions of recursion in various subreddits, people often point out that it can be dangerous if your language doesn't support tail recursion and you blow up your stack. As an FP guy, I'm used to tail recursion being the norm. So for languages that don't support it, what are the reasons? Does it introduce problems? Difficult to implement? Philosophical reasons? Interact badly with other feathers?
Why is it not more widely used in other than FP languages?
76
Upvotes
View all comments
Show parent comment
1
u/Smallpaul Jan 20 '26 edited Jan 20 '26
Now you are just getting silly.
The Dobbs thing bolsters my argument that Python succeed on its own merits. The dobbs editors selected it for that issue because they thought it was great.
Your Zope claim is just plain wrong. By your own admission Python was popular enough to have a magazine issue dedicated to it before Zope even existed. Zope did not draw tons of people to Python. Zope was the CMS for Python programmers.