With or Using

David C. Ullrich ullrich at math.okstate.edu
Wed Apr 18 12:11:13 EDT 2001


On Tue, 17 Apr 2001 19:58:34 +0100, Tim Howarth
<tim at worthy.demon.co.uk> wrote:

>In message <3ADC5AE1.53C3C4FE at alcyone.com>
>          Erik Max Francis <max at alcyone.com> wrote:
>
>> Tim Howarth wrote:
>> 
>> > Being lazy, I wondered if something like the following was possible in
>> > Python?
>> 
>> Hopefully not.  In every language that kind of syntax has been
>> introduced, it has only led to trouble.
>
>I've met it in Delphi and assumed it was the norm for object properties.

It's in Delphi all right. Now find five Delphi experts and ask them 
whether they think it's a good idea.

>> It saves a small amount of typing (and not very much) at the expense of
>> a lack of clarity and the addition of ambiguity.
>
>I thought with Python's block indenting it would be pretty clear what
>was being referred to.
>
>-- 
>___
> |im    ---- ARM Powered ----




More information about the Python-list mailing list