Python syntax wart

Bjoern Schliessmann usenet-mail-0306.20.chr0n0ss at spamgourmet.com
Mon Sep 10 13:53:08 CEST 2007


Lawrence D'Oliveiro wrote:
> In message <5kkcmvF3vfqqU3 at mid.uni-berlin.de>, Marc 'BlackJack'

>> I see a tree structure here ...
> 
> Good, you're improving.

Tree structures can't, IMHO, be called two-dimensional. Although,
you can represent them with a two-dimensional graph. If the tree
gets more complex this can become very messy.
 
>> And this is also easily written that way in Python if you don't
>> insist on the line break after the ``if`` or can live with
>> backslashes.
> 
> Which is precisely the point.

You're the first person I see using a complete line just for an "if"
or "for". Is this for tuning the code line count?

Regards,


Björn

-- 
BOFH excuse #194:

We only support a 1200 bps connection.




More information about the Python-list mailing list