Re: why not use LISP-imp of Prolog as opposed to Prolog itself?
- From: globalrev <skanemupp@xxxxxxxx>
- Date: Tue, 13 May 2008 21:44:30 -0700 (PDT)
http://www.amazon.com/gp/product/1558601910/002-6413815-3000828?v=glance&n=283155
Lisp has been getting a higher profile lately because of essayists
like Paul Graham and Philip Greenspun; in particular, Greenspun's
Tenth Rule of Programming which states: "Any sufficiently complicated
C or Fortran program contains an ad hoc, informally-specified, bug-
ridden, slow implementation of half of Common Lisp." So, should this
book be read as an exhortation to return to Lisp as the preferred
programming language?
Paradoxically, I think not. One third of the way through the book,
Norvig shows us how to implement Prolog in Lisp. From then on out,
most of the AI techniques he presents either directly use Prolog
instead of Lisp (such as his excellent discussion of natural language
processing using Prolog) or use Prolog as a base to build on (such as
his discussions on knowledge representation).
From this we can abstract what I'd like to call Norvig's Corollary toGreenspun's Tenth Law of Programming: "Any sufficiently complicated
LISP program is going to contain a slow implementation of half of
Prolog". I'm leaving out the "ad hoc", "bug-ridden" part of
Greenspuns's law, because Norvig's programs are neither. But it is
quite remarkable the degree to which, once having absorbed Prolog,
Norvig uses Prolog as the basis for further development, rather than
Lisp.
Is this a book about Prolog then? Again, no. What is the take-away
message? It is this: as our world becomes more and more complex, and
as the problems which programmers are facing become more and more
complex, we have to program at a higher and higher level.
.
- Follow-Ups:
- Re: why not use LISP-imp of Prolog as opposed to Prolog itself?
- From: Alessio Stalla
- Re: why not use LISP-imp of Prolog as opposed to Prolog itself?
- References:
- why not use LISP-imp of Prolog as opposed to Prolog itself?
- From: globalrev
- why not use LISP-imp of Prolog as opposed to Prolog itself?
- Prev by Date: Networking in Prolog - a survey
- Next by Date: Re: Networking in Prolog - a survey
- Previous by thread: why not use LISP-imp of Prolog as opposed to Prolog itself?
- Next by thread: Re: why not use LISP-imp of Prolog as opposed to Prolog itself?
- Index(es):
Relevant Pages
|
|