Why = = (and not just =)
Duncan Booth
duncan at NOSPAMrcp.co.uk
Mon Oct 20 04:48:51 EDT 2003
More information about the Python-list mailing list
Mon Oct 20 04:48:51 EDT 2003
- Previous message (by thread): Why = = (and not just =)
- Next message (by thread): Why = = (and not just =)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"John Roth" <newsgroups at jhrothjr.com> wrote in news:vp608amhe0jh1d at news.supernews.com: > Frankly, I'd rather have the assignment operator be something > like a left arrow: "<-" perhaps. I think it makes more sense, > and it avoids the confusion between one = and two. This would be just as ambiguous as making both assignment and comparison use '='. Compare: a<-b<-c a=b=c -- Duncan Booth duncan at rcp.co.uk int month(char *p){return(124864/((p[0]+p[1]-p[2]&0x1f)+1)%12)["\5\x8\3" "\6\7\xb\1\x9\xa\2\0\4"];} // Who said my code was obscure?
- Previous message (by thread): Why = = (and not just =)
- Next message (by thread): Why = = (and not just =)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list