From: Mathieu Bouchard Date: 2005-03-22T05:39:34+09:00 Subject: Re: New block syntax On Tue, 22 Mar 2005, Berger, Daniel wrote: > I extremely DISLIKE the new proposed syntax for proc/blocks. I would > rather we kept lambda/proc keyword mandatory, rather than end up with > goofball syntax like the above, just so we can make anonymous procs > more Perly. Could you please tell us what makes the new syntax more Perly, and the old syntax not Perly? Especially, please comment on the following examples: Perl: sub{ my($a,$b,$c)=@_; ... } Ruby(old): proc{|a,b,c| ... } Ruby(new): {|a,b,c| ... } Self: [|:a.:b.:c| ... ] Smalltalk: [ :a :b :c| ... ] _____________________________________________________________________ Mathieu Bouchard -=- Montr�al QC Canada -=- http://artengine.ca/matju