Favorite non-python language trick?

Roy Smith roy at panix.com
Sun Jun 26 14:37:51 CEST 2005

Steven D'Aprano <steve at REMOVETHIScyber.com.au> wrote:
> Using := and = for assignment and equality is precisely as stupid as using
> = and == for assignment and equality.

On the other hand, == is easier to type than := (two taps on the same key 
vs two different keys, and at least on a US/English keyboard, no shift key 
required).  Not only that, but := is more likely to be turned into some 
bizarre smiley face by brain-dead IM clients :-)

More information about the Python-list mailing list