merits of Lisp vs Python

Paul Rubin http
Fri Dec 8 20:15:32 EST 2006


"JShrager at gmail.com" <JShrager at gmail.com> writes:
> > There is (IMO) some truth to that, but the flavor of Python
> > programming is not that much like Lisp any more.  Especially with
> > recent Python releases (postdating that Norvig article) using iterator
> > and generator objects (basically delayed evaluation streams) more
> > heavily, Python is getting harder to describe in Lisp terms.  It's
> > moving more in the direction of Haskell.
> 
> Sorry, I missed something here. Why do you need a release to have these
> sorts of things? Can't you just expand the language via macros to
> create whatever facility of this sort you need... 

Huh?  Are you saying Lisp systems never release new versions?  And you
can't implement Python generators as Lisp macros in any reasonable
way.  You could do them in Scheme using call-with-current-continuation
but Lisp doesn't have that.

> Oh, sorry. You CAN'T
> expand the language.... Too bad. I guess waiting for Guido to figure
> out what Fits Your Mind is part of The Python Way.

Now I begin to think you're trolling.



More information about the Python-list mailing list