alternatives to making blocks like { } or other ??

Grant Edwards grante at visi.com
Wed May 19 00:59:39 EDT 2004


On 2004-05-18, Paul McGuire <ptmcg at austin.rr._bogus_.com> wrote:

>>> could i use something else like
>>>
>>> def sth(x):
>>> {
>>> return x
>>> }

> ... and no religious wars on where the braces are supposed to
> go, HOORAY!!!

But as religious wars go, the great Python "tab" debate ranks
right up there.

> And I'll second Larry's comment - it takes about 10-20 minutes
> to get used to, but then you just focus on indentation, and it
> seems *very* natural - liberating, even!

Especially if you've got an editor with a "python mode".

-- 
Grant Edwards                   grante             Yow!  I guess we can live
                                  at               on his POT FARM in HADES!!
                               visi.com            



More information about the Python-list mailing list