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               |
*-----------------------------------------------------*

Reply via email to