2 ms·
> we use = when declaring variables, while in the algorithm itself we use :=. Outside of variable definition = is the comparison operator. Not equals is written
by SlowRobotAhead 7y ago
> we use = when declaring variables, while in the algorithm itself we use :=. Outside of variable definition = is the comparison operator. Not equals is written as /=
I feel like some syntax that works some way only in some section isn’t ideal. Not a knock, it’s just apparently a problem only <your favorite language> gets right.