From: matz@... (Yukihiro Matsumoto) Date: 2002-06-12T17:54:01+09:00 Subject: Re: a new block parameter/variable notation (Re: ruby-dev summary 17252-17356) Hi, In message "Re: a new block parameter/variable notation (Re: ruby-dev summary 17252-17356)" on 02/06/12, Kent Dahl writes: |Not wanting to flog a dead horse, but I just wonder what the final word |on the :a notation was? Like |a,:b,c| (as in 5555), |a,b~,c| (as in 5592), or |a,{b},c| (as in 42266)? I don't like them. From my observation, block parameters used as either iteration variables or closure arguments, not usually mixed. :a notation and the like forces extra cost to one of the major usages, allowing unimportant mixing. I felt it's good to prepare independent (and hopefully equally readable) notations for each major usage. |Maybe I have misunderstood some of the other approaches, but I get the |sinking feeling that the order that the iterator methods yield the |arguments have bearing on what I can do on the block side. I see that |this problem is really defined away by the constraint, but I fear that |this decision can preempt some useful, future usages. (Though I can't |think of any good examples now...) I'm not in hurry at all for this issue. [ruby-talk:5555] was two years ago. matz.