<div class="gmail_quote">On Thu, Oct 8, 2009 at 8:12 PM, Gerald Britton <span dir="ltr"><<a href="mailto:gerald.britton@gmail.com">gerald.britton@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The thing is, if you read the documentation, it is not misleading.  It<br>
does just what it says it does.  The problem Guido identified, is that<br>
too many folks don't read the documentation, but try to figure it out<br>
by reading examples.  Small wonder they get confused!<br></blockquote><div><br>Did you read the documentation before posting your examples?<br>Given that you use it often enough to "fight [...] tooth and nail"<br>
over these proposals, I'm beginning to think that the construct<br>is confusing even with the benefit of regular use.<br><br>Geremy Condra<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div><div></div><div class="h5"><br>
On Thu, Oct 8, 2009 at 8:09 PM, Yuvgoog Greenle <<a href="mailto:ubershmekel@gmail.com">ubershmekel@gmail.com</a>> wrote:<br>
> On Thu, Oct 8, 2009 at 4:07 PM, George Sakkis <<a href="mailto:george.sakkis@gmail.com">george.sakkis@gmail.com</a>> wrote:<br>
>> Agreed. The more people disagree on how "for/else" should be spelled,<br>
>> the more I think there is no keyword that can encapsulate what it does<br>
>> unambiguously. Certainly "then" leaves me as clueless as "else" for<br>
>> the reasons above. I was thinking of something verbose like<br>
>> "elifnotbreak", but not only it is ugly, it is not 100% accurate; the<br>
>> correct spelling would be "elifnotbreakandnotreturnandnotexception" ;)<br>
><br>
> I agree with you on "then" giving no clues but I think you're wrong<br>
> about the spelling. The correct spelling would be "if not break".<br>
><br>
>    x = y / z<br>
>    if condition:<br>
>        print(1,2,3)<br>
><br>
> The above code translated to "George Sakkis Language" should be spelled:<br>
><br>
>    x = y / x<br>
>    if condition and notreturnandnotexception:<br>
>        print(1,2,3)<br>
><br>
> So because it's obvious that everything in python is under the<br>
> condition of "notreturnandnotexception", your point is moot.<br>
><br>
> The "else" in "for...break...else" is very simply a condition tested<br>
> after the loop finished (exactly like any other "if" that would<br>
> immediately follow the loop). The condition that's tested is simple:<br>
> "if there was a break - skip this".<br>
><br>
> So your spelling exaggeration doesn't worry me :). The fact that<br>
> python-ideas can't agree on a better syntax for python 4/5 does. I<br>
> appreciate the lesson taught, as Guido put it, but I think python can<br>
> have a long term plan concerning this old, rare and misleading syntax.<br>
><br>
> --yuv<br>
> _______________________________________________<br>
> Python-ideas mailing list<br>
> <a href="mailto:Python-ideas@python.org">Python-ideas@python.org</a><br>
> <a href="http://mail.python.org/mailman/listinfo/python-ideas" target="_blank">http://mail.python.org/mailman/listinfo/python-ideas</a><br>
><br>
<br>
<br>
<br>
</div></div>--<br>
<font color="#888888">Gerald Britton<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
Python-ideas mailing list<br>
<a href="mailto:Python-ideas@python.org">Python-ideas@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/python-ideas" target="_blank">http://mail.python.org/mailman/listinfo/python-ideas</a><br>
</div></div></blockquote></div><br>