"Geir Magnusson Jr." wrote:
> [snip]
> > > isNull(x,y) := #if (x) { x } #else { y }
> > <snip>
> >
> > There is a difference in my mind between directives (#) and variables ($).
> > For simplicity, I really want to keep the number of directives to as few as
> > possible because I relate directives to functions. I would however agree
> > that we should provide a number of tools to go into the context (ie: like
> > WM's ContextTools).
> >
> 
> But we don't add any directives to the language here.  I agree with you
> that the core language should remain small.  Real small.

Your macro would be called as a directive because of the '#' in front of
it.

[snip]
> I mean, if it was argued that adding multiple syntaxes to the language
> was important to support special tasks and repetitive tasks, here is a
> way of doing it w/o adding complexity to the engine.
> 
> Further, this allows an uber-designer to create tools for a design group
> to use to maintain consistancy in look/feel/design.

Unfortunately, I haven't seen this work all that well in practice.  The
art major that you just hired straight out of college should focus on
the look and feel of your web site, not on climbing the learning curve
of how to call Velocimacros.  I would prefer not to reinvent PHP or ASP
style development, and adding Velocimacros would allow this, regardless
of original intent and usefullness to the uber-designer.
-- 

Daniel Rall <[EMAIL PROTECTED]>

Reply via email to