Compare source code
Tim Harig
usernet at ilthio.net
Tue Nov 2 22:34:43 EDT 2010
On 2010-11-03, Tim Harig <usernet at ilthio.net> wrote:
> On 2010-11-03, D'Arcy J.M. Cain <darcy at druid.net> wrote:
>> On Wed, 3 Nov 2010 00:41:46 +0000 (UTC)
>> Tim Harig <usernet at ilthio.net> wrote:
>> Identifying the end of the block has some value. And the braces just
>> make the code noisy.
>
> With good syntax highlighting, you don't notice them unless you are looking
> for something because the markers are in comments and the markers for
> a block are only visible when the block is unfolded. As a benefit, they allow the folding
> stucture to provide expression of the code structure that cannot be
> expressed in the code itself.
Also note that you can use whatever you like for the folding markers if the
braces intimidate you. {{{ just happens to be the most recognized
standard. The Erlang crowd like to use ## for this sort of thing.
More information about the Python-list
mailing list