Compare source code

D'Arcy J.M. Cain darcy at druid.net
Tue Nov 2 21:29:02 EDT 2010


On Wed, 3 Nov 2010 00:41:46 +0000 (UTC)
Tim Harig <usernet at ilthio.net> wrote:
> On 2010-11-02, D'Arcy J.M. Cain <darcy at druid.net> wrote:
> Actually, I have found similar markers to be useful everywhere.  I don't
> like the way my editor tries to fold Python code, so I started inserting
> folding markers myself:
> 
>      # foo {{{
>      if foo:

Now that is redundant.  We know it's "foo" at the top of the block.
Identifying the end of the block has some value.  And the braces just
make the code noisy.

-- 
D'Arcy J.M. Cain <darcy at druid.net>         |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.



More information about the Python-list mailing list