Kai Grossjohann wrote:
> This will work for one level of nesting. But this means you need to
> keep track of the nesting levels when moving things around in the
> code.
Huh? Works for multiple levels. I've often refactored code from simple
functions into a large class oriented framework. That involved moving things
of multiple intention levels to line up. Works fine.
> With syntax-driven indentation, the editor figures it out for you.
With syntax-driven indention, the editor has to figure it out for you.
> OTOH, perhaps people can quickly *see* whether the indentation is
> right. If it isn't, they repeat the >> command.
Exactly. Not to mention there's none of the holy wars over where to place
the braces. ;)
--
Steve C. Lamb | I'm your priest, I'm your shrink, I'm your
PGP Key: 8B6E99C5 | main connection to the switchboard of souls.
-------------------------------+---------------------------------------------
Attachment:
signature.asc
Description: OpenPGP digital signature