From: matz@... (Yukihiro Matsumoto) Date: 2001-06-02T01:15:42+09:00 Subject: [ruby-talk:16139] Re: Block arguments vs method arguments Hi, In message "[ruby-talk:16137] Re: Block arguments vs method arguments" on 01/06/01, "Guy N. Hurst" writes: |I) "(....)" notation (already mentioned) | This is 'soft' and looks like a method parameter list. | Downside is context complications. It's better looking, but may cause syntax conflict, e.g. proc{(a+d)*2} |II) "...|...|" notation (has this been mentioned?) | This utilizes smalltalk's [x,y| .... ] notation, where such | vars are private to the block. | This would allow familiar |a,b,c| iterator notation. | I think this will be the most flexible, concise, and familiar. This too is conflicting, sigh. proc{a|b} Stephan's idea in [ruby-talk:16132] is interesting. Its weakpoint is we can't determin if we need to upgrade program by its appearance. matz.