From: Daniel Martin Date: 2007-05-18T22:01:13+09:00 Subject: Re: Why not adopt "Python Style" indentation for Ruby? Chris Dew writes: > As far as I can see, the 'end' keyword is 'repeating yourself' when > used with properly indented code. Note that the Haskell folks have managed to evolve a language in which python-like spacing can be used to mark the extent of discrete code chunks, but so can traditional braces. This is more then kind of thing I'd like to see in Ruby: having it allow the compact python notation, but not require it. (So that, e.g., code generators would still be easy to write) I think anyone serious about adding indentation-as-syntax to Ruby should take a very close look at how Haskell manages to allow it without requiring it. -- s=%q( Daniel Martin -- martin@snowplow.org puts "s=%q(#{s})",s.to_a.last ) puts "s=%q(#{s})",s.to_a.last