ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: [ANN] Collecting requirements for Ant2
Date Wed, 21 Mar 2001 23:22:44 GMT
At 05:01  21/3/01 +0100, Stefan Bodewig wrote:
>> select isFile(*) from toolkit
>> do
>>   Compile subdir/source to subdir/classes
>>   Jar subdir/classes to subdir/subdir.jar
>> done
>> 
>> Which is declarative ;)
>
>And now, please, could anybody tell me the difference between those
>two? Is it that foreach is a keyword in Perl while select is one in
>SQL?

select has zero ordering semantics. Besides low coupling being a general
design goal it also has the effect that easy to compose multiple levels (ie
easy to understand and embedd multiple selects).

Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*


Mime
View raw message