On Monday, August 18, 2003, 8:35:30 AM, Aredridel wrote:

>> I also like flexible syntax:
>> 
>> 1.   iterator { some block }
>> 2.   puts "hello" if condition
>> 3.   def twice() yield; yield; end

> Definately don't forget this:

> array.map do |e| 
>         "foo" << e << "foo"
> end.sort

> You can't chain onto the end of a block easily without a delimiter.

Pythonistas would see that as bad style anyway.

Gavin