On Mon, Nov 17, 2003 at 02:29:52PM -0600, Chad Walstrom wrote:
On Mon, Nov 17, 2003 at 02:19:02PM -0500, H. S. Teoh wrote:
Also, as an off-topic note, blank lines that contain tabs or spaces are Pure Evil(tm), especially in code. One of these days I should write a sed script to eliminate all incarnations of this Pure Evil(tm) from /usr/src.
Python did away with that requirement for scope in 2.x. If you want to use blank lines for code logic separation in python < 2.0, you must nest the line as far as the current block. For that reason, I don't use blank lines within class or method definitions when writing for Python 1.5.x.
[snip]
Hmm, I did not know this before.
*chalks up one more reason to avoid Python like the plague...*
Uh, care to rewrite that since Python is now on 2.3 and 1.5.2 is several years old?
-- Steve C. Lamb | I'm your priest, I'm your shrink, I'm your PGP Key: 8B6E99C5 | main connection to the switchboard of souls. -------------------------------+---------------------------------------------
pgpBn1DSwtMxV.pgp
Description: PGP signature