|Welcome to the Monastery|
Kudos. Yet.. Misconception.by RocketInABog (Initiate)
|on Jul 25, 2006 at 06:30 UTC||Need Help??|
Wonderful addition to Perl.
My very first posting on the internet was on the subject of prolog programming (I just couldn't bear reading one person mislead another).
I usually only speak up when I have a criticism,
so people tend to hate me.
It looks to me like your conception of the word 'append' is backwards.
In your writing you state:
It's my understanding that when you append something, you place it at the end.
One of the things I love about computer science is how definite terms can be. It's important to keep it that way. I don't mean to knock you, but it is very important that we don't mislead one another. Most people do this all day long with sloppy speech (sloppy speech == sloppy thinking).
The only other thing I have to say is that I don't think
your choice of appending lists is a very convincing example
of using prolog for people who know nothing of the subject.
You do show the power of Prolog when you wrote:
Those are two additional things you get from a Prolog "append" clause which you don't get in any other non-logic programming language.
You understated the biggest point as a note:
That is the real power of Prolog.
I'm a fan of using an example of sibling relationships to show how prolog can infer answers using a small number of rules. The only two Prolog books I own use this type of example in their first chapters.
All said and done. Kudos for pushing Prolog.
BTW Have you heard of Prolog++ ?
It's an object oriented prolog.