8 queen/game of life

Peter Immarco android at micron.net
Thu Jun 15 08:53:07 EDT 2000


Chris,

Excellent point!  I learned 8-Queens from "The Art Of Prolog" and they show a
wonderful implementation of N-Queens.  I had been programming in Prolog for 3
years when I got that awesome book, and it showed me aspects of Prolog I would
never have dreamed of.  Sometimes being a self-taught programmer has its
pitfalls, but nothing that can't be cleared up by a great book.

Have you seen any "new classics"?  Most of the books I have that I like on
Prolog are from 5 - 15 years old.  I'm using LPA Prolog, how about you?

Peter.

the_wrights wrote:

>
> Someone not experienced in prolog might be seduced by the backtracking, only
> to find that the default control structures in the naive implementation of 8
> queens led to hopeless inefficiencies.
>
> Prolog is indeed a good language for this type of problem, but those new to
> the language should get O'Keefe's book (The Craft of Prolog) and Sterling
> and Shapiro (The Art of Prolog) so that the folk lore is available to them.
>
> cheers
>
> chris




More information about the Python-list mailing list