What's better about Ruby than Python?

Dave Kuhlman dkuhlman at rexx.com
Fri Aug 22 00:52:18 CEST 2003

Andrew Dalke wrote:

> The complaint about macros has been their tendency to
> increase a single person's abilities at the cost of overall
> loss in group understanding.  I've heard references to
> projects where that didn't occur, but am not swayed
> by it because those seem staffed by people with
> extraordinarily good programming skills almost never
> found amoung the chemists and biologists I work with.

I just took a quick look at the "Revised5 Report on the
Algorithmic Language Scheme".  Macros in Scheme5 are called
"hygienic macros", so apparently there are some dirty macros that
we should worry about.  My understanding is that macros came to
Scheme slowly, with resistence, with a good deal of thought, and
with restrictions.

     "More recently, Scheme became the first programming language
     to support hygienic macros, which permit the syntax of a
     block-structured language to be extended in a consistent and
     reliable manner."



I have the same worry that some others on this thread have
expressed, that a macro capability in Python would enable others
to write code that I would not be able to read or to figure out.



Dave Kuhlman
dkuhlman at rexx.com

More information about the Python-list mailing list