You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assignments where a given variable appears both on the left and right of the = are confusing and wrong. Take x = x + 1, there is no value of x such the equality holds. The mathematically correct thing to do in such a case is to set x to NO!. More generally, any assignment where the same variable appears on both sides should set all involved variables to NO!.
Incrementing x then looks like:
// The Value Formerly Known As
let tvfka = fn(a) {
return a;
}
x = 42;
old_x = tvfka(x);
x = old_x + 1;
The text was updated successfully, but these errors were encountered:
Assignments where a given variable appears both on the left and right of the
=
are confusing and wrong. Takex = x + 1
, there is no value of x such the equality holds. The mathematically correct thing to do in such a case is to setx
toNO!
. More generally, any assignment where the same variable appears on both sides should set all involved variables toNO!
.Incrementing
x
then looks like:The text was updated successfully, but these errors were encountered: