cies
5/18/2007 10:51:00 AM
* tab/space mixture
* templates, e.g. eRuby
* expression with code chunk, e.g lambdas and blocks
* clipboards, email, pastebins, and other places where the code is not
preserved literally
* code generators
tabs can be made forbidden (g.v.rossum himself said he'd never
supported tabs in the first place if he new what it would cauze)
maybe it can be made optional. or one could write a little conversion script.
i agree python's indentation looks clean. yet i have experienced
allmost all of the above mentioned "cons"...
_c.
On 5/18/07, Xavier Noria <fxn@hashref.com> wrote:
>
> On May 18, 2007, at 11:04 AM, Michal Suchanek wrote:
>
> > On 18/05/07, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:
> >> Hi,
> >>
> >> In message "Re: Why not adopt "Python Style" indentation for Ruby?"
> >> on Fri, 18 May 2007 16:25:03 +0900, Chris Dew
> >> <cmsdew@googlemail.com> writes:
> >>
> >> |What are the reasons why this isn't used/implemented/liked?
> >>
> >> Python style block by indentation is an interesting idea, but it
> >> works
> >> badly with
> >>
> >> * tab/space mixture
> >> * templates, e.g. eRuby
> >> * expression with code chunk, e.g lambdas and blocks
> > * clipboards, email, pastebins, and other places where the code is not
> > preserved literally
>
> code generators
>
>