Motivation for compile time function execution
Walter Bright
newshound at digitalmars.com
Fri Feb 16 14:51:00 PST 2007
Pragma wrote:
> Walter Bright wrote:
>> To someone who is comfortable with Lisp, I agree that 1, 2, and 3 are
>> moot. But most of us aren't, and a very common request I'd get is to
>> make metaprogramming look "like normal D code." The eventual
>> metaprogramming goal is to get the power of Lisp expressible in the
>> "normal D" syntax.
>
> Actually, FWIW, I'm not comfortable with Lisp. D template coding is
> just "noisy" enough for me to grok as a list processing grammar. In
> contrast, my comprehension of Lisp breaks down after about three or four
> nestings. Yea, I'm probably a huge weirdo in that respect. ;p
>
> But I'm all for the changes and improvements. Your rationale for adding
> to things is dead on.
You'll have to thank Andrei and Bartosz for that; they kept hating my
proposals for new syntax to support metaprogramming <g>. They kept
sending me back until I understood the obvious.
More information about the Digitalmars-d
mailing list