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 3:30

The correct answer is = should be used for comparison and assignment.

The function of the operator can be determined by its context, so it should be determined by its context.

Regardless of using a lagnauge that uses = and ==, good programming practice dicates the context in which these should be used anyways, so having seperate operators invites errors and is a lazy way shitheads write parsers.

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