You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Geir Magnusson Jr." <ge...@optonline.net> on 2000/12/12 23:49:55 UTC

Re: cvs commit: jakarta-velocity/xdocs vtl-reference-guide.xml texen.xml install.xml

Jose Alberto Fernandez wrote:
> 
> > From: Geir Magnusson Jr. [mailto:geirm@optonline.net]
> >
> >
> > Christoph Reck wrote:
> > >
> > > jcastura@locus.apache.org wrote:
> > > > I'd like each directive to have an identical format.
> > >
> > > Then we should normalize the position of the brakets, e.g.
> > > we should use:
> > >   #set( $value = $foo + 1 )
> > > as-well-as:
> > >   #if( condition )...#else...#end
> > > and:
> > >   #macro( vmname arg1 arg2 )
> > > to match:
> > >   #vmname( arg1 arg2 )
> > > Note that I'm recommending to glue the bracket to the directive
> > > and place spaces after the openingand before the closing bracket.
> >
> > +1
> >
> 
> Why? I see no need for the "(" be together with the directive name.
> I see no need for such rigid grammar, I do not see the current grammar to
> be ambiguous or anything else. Why does this smplify explaining the
> directives?

Dude.  It's just the docs

> Jose Alberto

-- 
Geir Magnusson Jr.                               geirm@optonline.com
Velocity : it's not just a good idea. It should be the law.
http://jakarta.apache.org/velocity