From: Chris Moline Date: 2001-06-03T07:17:48+09:00 Subject: [ruby-talk:16172] The Block Problem -A suggestion Hi, I was thinking about our discussion and came up with an idea that might interest you. Why not use square brackets for surrounding argument lists?? ie, instead of def method( *args ) ... end array.each do | *args | ... end we do def method[ *args ] ... end array.each do[ *args ] ... end It has the advantage that it's less ambiguous. We can define a one-line method without needing to use empty brackets or a statement delimiter. It's also a good looking alternative to those angle brackets and it shouldn't be too much trouble to update older files to this new style. Some people may find this proposed syntax too confusing for arrays. If thats the case perhaps a) we could change array[i] to use the hash style. ie array{i} b) we could swipe -> from c. so array->i and maybe hash->"key" too. What think?? They are just suggestions Sincerly, Chris Moline