February 08, 2008 Macro dangers | ||||
|---|---|---|---|---|
| ||||
A very nice explanation of the social dangers of macro (like the future D ones), they may be good for the programmer but bad for the community: http://lua-users.org/lists/lua-l/2008-02/msg00247.html Bye, bearophile | ||||
February 09, 2008 Re: Macro dangers | ||||
|---|---|---|---|---|
| ||||
Posted in reply to bearophile | bearophile wrote:
> A very nice explanation of the social dangers of macro (like the
> future D ones), they may be good for the programmer but bad for the
> community: http://lua-users.org/lists/lua-l/2008-02/msg00247.html
Definitely, with macros you can fairly easily descend into incomprehensibility. You can with templates, too. I find Boost template usage to be way beyond comprehensibility for me. D templates are much easier to understand, but they can be way out there, too, if you're not careful.
The author blames the adoption problems with Lisp on macros, and dismisses the syntax. For me, it's the syntax. It's just off-putting.
| |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply