ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Oxspring" <roxspr...@imapmail.org>
Subject RE: Selectors documentation and a Reference bug fix
Date Fri, 10 May 2002 01:38:04 GMT


> -----Original Message-----
> From: Bruce Atherton [mailto:bruce@callenish.com] 
> Sent: 10 May 2002 01:13
> To: Ant Developers List
> Subject: Re: Selectors documentation and a Reference bug fix
> 
> 
> At 06:25 PM 5/9/2002 +0100, Rob Oxspring wrote:
> >I thought this would be the reply - I really think that ant is 
> >generally very good at being verbose and descriptive in its 
> syntax and 
> >it would be a shame to let this slip by.  Taking another tack: if we 
> >don't want to use equal as the default (being uncommon is a fair 
> >argument) then why choose "less" over "more"? These strike me as 
> >equally common and so we'd only be shortening the typing for 
> half the 
> >cases.
> 
> Sorry to be so predictable. :-)

:)

> 
> Why choose "less" over "more" in <size>? Well, I did that in 
> order to stay 
> orthogonal to <date>, which defaults to "before" rather than 
> "after". 

I absolutely agree on the consistency front.

> And I 
> chose that because dates on files tend to be more in the past 
> than in the 
> future. 

The dates of the files involved are extremely likely to be in the past,
but not necessarily less than the reference date which is also likely to
be sometime in the past.

> They are still completely arbitrary, though, I agree.
> 
> Yes, it only shortens half the typing, but I thought that 
> might be better 
> than nothing at all.
> 
> 
> >The bottom line is that I think that people maintaining the code / 
> >script being able to quickly understand it is far more 
> important than 
> >the coder typing less.  Maybe this is a case where no 
> default should be 
> >given?
> 
> Converting to "equal" would be tantamount to no default since 
> its use is 
> rare, so I see no advantage to requiring the attribute.
> 
I agree - was just thinking out loud really.

> Since I have only a mild preference and you and Dominique 
> appear to have a 
> strong one, Ill change the default to "equals" if no one else has an 
> opinion to the contrary.

Thanks!

Rob

> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:ant-dev-> unsubscribe@jakarta.apache.org>
> For 
> additional commands, 
> e-mail: <mailto:ant-dev-help@jakarta.apache.org>
> 
> 
> 


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message