Michael Urman wrote:
> On 10/1/06, Ron Adam <[EMAIL PROTECTED]> wrote:
>> (I don't think this has been suggested yet.)
>>
>> while , :
>>
>
> [snip]
>
>> Putting both the entry and exit conditions at the top is easier to read.
>
> I agree in principle, but I thought the proposed sy
> This pattern:
>
> while entry_cond:
> ...
> and while not exit_cond:
> ...
>
> has been suggested before, and I believe that at least one of the times it
> was suggested, it had some support from Guido. Essentially, the "and
> while not exit" is equivalent to an "
At 12:58 PM 10/1/2006 -0400, Andrew Koenig wrote:
> > (I don't think this has been suggested yet.)
> >
> > while , :
> >
>
>This usage makes me uneasy, not the least because I don't understand why the
>comma isn't creating a tuple. That is, why whould
>
> while x, y:
>
> (I don't think this has been suggested yet.)
>
> while , :
>
This usage makes me uneasy, not the least because I don't understand why the
comma isn't creating a tuple. That is, why whould
while x, y:
be any different from
while (x, y):
On 10/1/06, Ron Adam <[EMAIL PROTECTED]> wrote:
> (I don't think this has been suggested yet.)
>
> while , :
>
[snip]
> Putting both the entry and exit conditions at the top is easier to read.
I agree in principle, but I thought the proposed syntax already has
meaning today (as it
Nick Coghlan wrote:
> Hans Polak wrote:
>> Hi,
>>
>>
>>
>> Just an opinion, but many uses of the ‘while true loop’ are instances of
>> a ‘do loop’. I appreciate the language layout question, so I’ll give you
>> an alternative:
>>
>>
>>
>> do:
>>
>>
>>
>>
>>
>>
Hans Polak wrote:
> Hi,
>
>
>
> Just an opinion, but many uses of the ‘while true loop’ are instances of
> a ‘do loop’. I appreciate the language layout question, so I’ll give you
> an alternative:
>
>
>
> do:
>
>
>
>
>
> while
>
I believe you m
Hi,
Just an opinion, but many uses of the ‘while true loop’
are instances of a ‘do loop’. I appreciate the language layout
question, so I’ll give you an alternative:
do:
while
Cheers,
Hans Polak.
This message contains informat