2 ms·
That's literally the point: it's not the assignment operator. The difference between = and == in an if causes many hugs in other languages. Using := for assign
by jimktrains2 7y ago
That's literally the point: it's not the assignment operator.
The difference between = and == in an if causes many hugs in other languages. Using := for assignment in an expression instead of == means that you can't simply have a typo and have a bug.