-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 James G. Sack (jim) wrote: > Long multiple nested blocks are more difficult to visually align. > Especially, of course, if they are multi-page as well. For me, this is > true whether there are block-end delimiters or not, but having that > delimiter is a mechanical convenience (to vim and even manual counting).
Hmmm... vim can only count braces, not whitespace? Yet another reason to use Emacs I guess. ;-) > Such long structures are, IMO almost always indicators of code that can > be made easier to understand and maintain by pulling out functions. Absolutely. There's a reason one of the key metrics of code complexity is the number of branches in a function/method. > Although folding could help I suppose. Does (eg, vim) folding work with > Python? Does anyone here use folding a lot? Works in Emacs. Therefore it either works in vim or vim sucks. :-) - --Chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHfR8hOagjPOywMBARAqdHAJkB29CvkJ5WkiqzwaB0PjVJ+eKIiQCgqG3/ moFu8Tge6yYlWDmw7vltR2c= =eMp+ -----END PGP SIGNATURE----- -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg
