On Wed, Jan 02, 2008 at 02:58:42PM -0800, SJS wrote:
One of the fancy editors we used when I was using C++ would do that for
C++ -- significant closing braces were annotated with what they closed.
It was all editor magic, but it was useful as well.
I'm suprised that this isn't a feature of some IDE for python yet.
This might be that mindset thing, again. I find comments:
...
} /* if */
to be extremely annoying, to the point of making the code harder to read.
That close brace is a small turd at the end of a block that the compiler
needs because it doesn't have any other way to know when the block ends. I
would be perfectly happy if the editor made it a faint gray that was barely
visible.
Maybe this comes from doing lisp/scheme, where the close parens are almost
always just placed at the end of the last line. I have seen C code like
that, but it was fairly unpleasant to read.
Dave
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg