Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

==

Name: Anonymous 2009-06-07 18:31

Wouldn't it make more sense if the = operator tested for equality and == assigned? Since == is repeated and more emphatic?

Name: Anonymous 2009-06-08 2:31

>>34
That's just arbitrarily picking one meaning to resolve the ambiguousness. It doesn't change the fact that you through exceedingly poor planning of your language syntax made a<-b confusing, as the programmer could meaningfully intend either one. Or does your language do something stupid like differentiating between statements and expressions, or not allowing infix operators?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List