From: Benoit Daloze Date: 2008-10-08T01:30:21+09:00 Subject: Re: Why not adopt "Python Style" indentation for Ruby? ------=_Part_74346_1138448.1223397133791 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline "Or consider to use use: > "/* */", "|...|", "<...>", "[...]" , "(...)", "((...))", , "//...//", " > :...: ", " '...' ", " `...` " for blocks." > I can't stand with the idea of using other chars than braces {} for a block, I think it's particular to ruby to write: names.each { |name| puts name } I think do...end is a little long for a small block like this. "My first thought to use brace "{...}" to replace "END" since it's a > popular convention." Well, if you take the braces, you will have to put one just after the condition(if, else, ...) and "{" is often useless I think. If you indent your code, where will you write the "{" ? after the "if" on the same line ? on a new line ? That's why I like the "end", one end for everything, and only one place if you indent. And the syntax "do(sth) if condition" is fast and logical to write.But I think we should not use this for long lines for readability reasons. Regards, Benoit ------=_Part_74346_1138448.1223397133791--