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?
?=
[assign][var]variable-name[/var][val]value[/val][/assign], as specified in the BBCODE'98 report.
= performs an assignment and throws an exception if the values were not already equal. Truly the superior design.
=ω=
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?