merits of Lisp vs Python

greg greg at cosc.canterbury.ac.nz
Sat Dec 16 00:48:24 EST 2006


Ken Tilton wrote:

> McCarthy: "Is code also data in Python?"
> Norvig: "No."

I don't think that was the right answer. He should have
said "Yes", and then shown McCarthy eval() and exec.

Code isn't quite as *convenient* to work with as data
in Python as it is in Lisp, but that doesn't mean it
can't be done.

(I agree that the proffered example was not an instance
of "code is data", though.)

--
Greg



More information about the Python-list mailing list