Wouldn't it make more sense if the = operator tested for equality and == assigned? Since == is repeated and more emphatic?
Name:
Anonymous2009-06-08 3:26
Using `=' for assignment is an abomination that should never have been allowed to happen. Only someone who would think of such a thing would ever have come up with `=='. Therefore it is no coincidence that they both exist, and that they mean what they do.
Then you have Scheme, with
=
eq?
eqv?
equal?
string=?
char=?