if <assignment>:

Aahz aahz at pythoncraft.com
Wed Nov 27 13:41:40 EST 2002


In article <artvr3$cbe$2 at wheel2.two14.net>,  <maney at pobox.com> wrote:
>David Brown <david at no.westcontrol.spam.com> wrote:
>>
>> correctness.  This particular "feature" is a huge source of bugs and
>> frustration in C programming - mixing up "=" and "==" in conditions is
>> probably the biggest single cause of C program bugs.  Python, on the other
>
>Are you speaking from experience, or is this as well-founded as the
>hysterical wails about how Python's use of indentation is just wrong? 
>It certainly isn't remotely near my own experience (which covers a bit
>more than two decades, during much of which C was used more than
>anything else).

Well, I regularly get syntax errors from the Python compiler because I
typed "=" instead of "==".  Maybe I should proof my own code more
thoroughly...
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"If you don't know what your program is supposed to do, you'd better not
start writing it."  --Dijkstra



More information about the Python-list mailing list