From: Sven Suska Date: 2007-05-20T04:45:30+09:00 Subject: Re: Why not adopt "Python Style" indentation for Ruby? Trans schrieb: >On May 18, 5:22 pm, Sven Suska wrote: > >>Putting a special character at the beginning of every line that is >>governed by significant whitespace. >>Thes would cause no problems with normal Ruby syntax, >>but would provide a way to use significant indentation if one really >>wants to. >> >>If "~" were that special character, it would look like that: >>~ 5.times do |n| >>~ n.times do >>~ print n >>~ puts >> >> > >But I don't think a line prefix is worth the trouble. > > Trouble? -- I want the editor to insert the prefix, of course. Some editors are already able to do this with line comments, so they can be adapted easily. Sven