From: ptkwt@...2.teleport.com (Phil Tomson) Date: 2000-12-10T12:40:01+09:00 Subject: [ruby-talk:6995] block syntax/def syntax question/suggestion Being very new to Ruby (2-3 days) and very familiar with Perl, I tend to prefer { .. } for block delimiters. From what I can tell in Ruby you can use either do .. end or { .. } for blocks. What if that flexibility was also allowed for method definitions so that you could have: def somemethod { ... } in addition to the current syntax: def somemethod ... end Perl and C folks would feel more 'at home' and it would be consistent with the flexibility allowed for block definitions. (and vi users could still use the brace matching feature, shift-5, to find the start and end of a method definition - yeah, I know, a method should be much shorter than a page length, but sometimes it happens.). Phil