Article View: comp.lang.logo
Article #264Re: um, maybe this is a silly question
From: Brent Benson
Date: Wed, 14 Oct 1992 18:46
Date: Wed, 14 Oct 1992 18:46
25 lines
1658 bytes
1658 bytes
quigley@acs.ucalgary.ca (Martyn Thomas Quigley) writes: >>Most problem solving that people routinely do shouldn't require the >>level of engineering required to convert recursion into interation. > Don't Lisp compilers routinely convert tail recursion source into > iterative code? I always thought so, but...should we do it > ourselves? I think a more relevant point is that beginning programmers don't often know the difference between a tail recursive function and a non-tail recursive function (i.e. whether it can be compiled into an iterative form). On the other hand, I think that learning (and teaching) the difference is not that hard and is worth whatever effort it does take. This knowledge fosters a more thorough understanding of interpreters, compilers, machines, etc. Things that are very important for a programmer to understand. -- Brent Benson Harris Computer Systems
Technical Details
Message-ID:
<BRENT.92Oct14134651@amber.ssd.csd.harris.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!darwin.sura.net!gatech!uflorida!travis.csd.harris.com!grouper!!brentReferences:
<1992Oct12.163421.24051@sctc.com> <1992Oct13.035329.19258@pasteur.Berkeley.EDU> <1992Oct13.144544.18182@sctc.com> <92Oct14.032327.23449@acs.ucalgary.ca>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!darwin.sura.net!gatech!uflorida!travis.csd.harris.com!grouper!!brent From: brent@ssd.csd.harris.com (Brent Benson) Newsgroups: comp.lang.logo Subject: Re: um, maybe this is a silly question Message-ID: <BRENT.92Oct14134651@amber.ssd.csd.harris.com> Date: 14 Oct 92 18:46:51 GMT References: <1992Oct12.163421.24051@sctc.com> <1992Oct13.035329.19258@pasteur.Berkeley.EDU> <1992Oct13.144544.18182@sctc.com> <92Oct14.032327.23449@acs.ucalgary.ca> Sender: news@grouper.mkt.csd.harris.com (Network News) Distribution: usa Organization: Harris Computer Systems Lines: 25 In-Reply-To: quigley@acs.ucalgary.ca's message of 14 Oct 92 03:23:27 GMT