Pseudocode in the wikipedia

Ron_Adam radam2 at tampabay.rr.com
Fri Apr 1 15:32:36 EST 2005


On Fri, 1 Apr 2005 12:15:35 -0800, James Stroud <jstroud at mbi.ucla.edu>
wrote:

>Is anybody else bothered by those stupid pascal-like ":=" assignment 
>operators?
>
>Maybe, for the sake of adding more variety to the world, wiki should come up 
>with a new assignment operator, like "==". I like that one because then it 
>could really be original:
>
>if (bob = 4):
>  bob == bob + 2

To me ":=" could mean to create a copy of an object...  or should it
be "=:" ?

Or how about ":=)" to mean is equal and ":=(" to mean it's not.

Then there is ";=)", to indicate 'True', and ':=O' to indicate 'False'





More information about the Python-list mailing list