Article View: comp.lang.prolog
Article #4303Re: PROLOG in the "real" world?
From: Dan Benanav
Date: Tue, 08 Oct 1991 02:11
Date: Tue, 08 Oct 1991 02:11
11 lines
1655 bytes
1655 bytes
clin@eng.umd.edu (Charles Lin) writes:
> While I personally like the idea of recursion and use it whenever I program
>in LISP, I am curious to other reasons of using recursion besides elegance.
It's not just a matter of elegance. I find it much easier to write
resursive programs. I can write a recursive version of an
algorithm much faster then the iterative version.
Dan
Technical Details
Message-ID:
<benanav.686887869@earth.njit.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!yale.edu!qt.cs.utexas.edu!zaphod.mps.ohio-state.edu!mips!spool.mu.edu!munnari.oz.au!dorm.rutgers.edu!njitgw.njit.edu!benanavReferences:
<1991Oct02.193655.16492@chome.ruhr.de> <1991Oct3.180209.3023@athena.cs.uga.edu> <1991Oct04.142838.29652@eng.umd.edu> <1991Oct4.173827.14992@athena.cs.uga.edu> <1991Oct07.133749.15786@eng.umd.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f907c,2ad8401e5c040397 X-Google-Attributes: gidf907c,public X-Google-Thread: 10461e,2ad8401e5c040397 X-Google-Attributes: gid10461e,public X-Google-Thread: 10db24,2ad8401e5c040397 X-Google-Attributes: gid10db24,public X-Google-Thread: 102449,2ad8401e5c040397 X-Google-Attributes: gid102449,public X-Google-Thread: f43e6,2ad8401e5c040397 X-Google-Attributes: gidf43e6,public X-Google-ArrivalTime: 1991-10-08 02:50:53 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!yale.edu!qt.cs.utexas.edu!zaphod.mps.ohio-state.edu!mips!spool.mu.edu!munnari.oz.au!dorm.rutgers.edu!njitgw.njit.edu!benanav From: benanav@earth.njit.edu (Dan Benanav) Newsgroups: comp.lang.prolog,comp.software-eng,comp.edu,comp.ai,aus.ai Subject: Re: PROLOG in the "real" world? Message-ID: <benanav.686887869@earth.njit.edu> Date: 8 Oct 91 02:11:09 GMT References: <1991Oct02.193655.16492@chome.ruhr.de> <1991Oct3.180209.3023@athena.cs.uga.edu> <1991Oct04.142838.29652@eng.umd.edu> <1991Oct4.173827.14992@athena.cs.uga.edu> <1991Oct07.133749.15786@eng.umd.edu> Sender: news@njit.edu Organization: New Jersey Institute of Technology, Newark, N.J. Lines: 11 Nntp-Posting-Host: earth-gw.njit.edu