[Python-Dev] defmacro (was: Anonymous blocks)
michael.walter at gmail.com
Tue Apr 26 14:51:22 CEST 2005
On 4/26/05, Rodrigo Dias Arruda Senra <rodsenra at gpr.com.br> wrote:
> IMVHO, macros are readability assassins. The power (for any developer)
> to introduce new syntax is *not* a desirable feature, but something
> to be avoided. And that alone should be a stronger argument than
> a hundred use cases.
Personally, I believe that EDSLs can improve usability of a library.
I've been following this list for quite a while, and trying to see
what lengths (hacks) people go (use) to implement "sexy" syntax can
give you quite an idea that custom syntax matters. And surely all of
these tricks (hacks) are way harder to use than a EDSL would be.
More information about the Python-Dev