Software bugs aren't inevitable
aahz at pythoncraft.com
Fri Sep 16 02:19:48 CEST 2005
In article <7xpsrb78tn.fsf at ruckus.brouhaha.com>,
Paul Rubin <http://phr.cx@NOSPAM.invalid> wrote:
>Every serious FP language implementation optimizes tail calls and thus
>using recursion instead of iteration doesn't cost any stack space and
>it probably generates the exact same machine code.
While that's true, one of the reasons Guido has historically rejected
this optimization is because there are plenty of recursive algorithms
not amenable to tail-call optimization.
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
The way to build large Python applications is to componentize and
loosely-couple the hell out of everything.
More information about the Python-list