Quote:
|
Originally Posted by Yen
Also, why do people use := sometimes, instead of =?
|
It's the same thing as =, unfortunately.
It would be nice if this operator was given unique functionality as a "delayed assignment operator," meaning not to assign the value until the next time it's modified (kindof like preincrement, but more in a sense of preassignment). Considering it's definition in the language is already defined, though.. doubt it will change. The question of modify it to behave this way would be, would you want to save the value that it would be assigned as it is called, or delay the execution until the assigned operator is modified.