No macros in Python

Bruce Hoult bruce at
Wed Jan 1 08:49:05 CET 2003

In article <x7adj5hgsq.fsf at>, Mike Meyer <mwm at> 

> "Anders J. Munch" <andersjm at> writes:
> > "Mike Meyer" <mwm at> wrote:
> > > Macros are a general-purpose mechanism. There are lots of things they
> > > let you do. Lazy evaluation, infinite lists, CLOS, short-circuit
> > > booleans, and so on. 
> > No, s-expressions buy you those things, not macros.  Macros don't
> > provide expressiveness, they provide speed and some convenience, say
> > to let you write:
> Since I can do those things with macros and without s-expressions, I
> disagree. Well, maybe not CLOS.

Dylan does a version of CLOS (and all the others listed) with macros and 
without S-expressions.

-- Bruce

More information about the Python-list mailing list