> I think it that ${ ... }s are good because you can immediately tell where
> the expressions are, and they are syntax-highlightable.
> Editors like VIM could easily support highlighting function names inside
> expressions or even intellisense ;-)

I am convinved :) We should be consistent whereever possible.

> I actually think that
>
> <if test="..." />
>
>  should always be written as
>
> <if test="${...}" />
>
>  just for the consistency.

even there!

Martin
>
> Jarek
> ----- Original Message ----- 
> From: "Martin Aliger" <[EMAIL PROTECTED]>
> To: "Gert Driesen" <[EMAIL PROTECTED]>; "Ian MacLean"
> <[EMAIL PROTECTED]>
> Cc: "Jaroslaw Kowalski" <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> Sent: Wednesday, December 03, 2003 3:50 PM
> Subject: Re: [nant-dev] PATCH: Expression evaluator for NAnt
>
>
> > > 1. if="${propertyname} = '123'"
> > > or
> > > 2. if="propertyname = '123'"
> >
> > you need
> >
> > if="${propertyname = '123'}" right now.
> >
> >
> > btw:  Not very convenient in if attributes. They could/should be
automatic
> > that is without ${}.
> > But you could use ${} everywhere e.g.
> > <echo message="hello ${propertyname='123'} world."/>
> > [writes "hello true world."]
> >
> > Martin



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to