News for hackers. Stuff that matters.
Re:A Look at Crystal, the Programming Language for Humans by qwertfisch on Wednesday May 10, 2023 @06:06AM (#35885527)
Except that the walrus operator “:=” is an assignment expression, whereas in Pascal it is an assignment statement, like “=” in many languages. In Pascal, the boolean comparison operator is “=” instead of “==” (in the same many languages).

And there is C where the assignment expression is just “=”, there is no assignment statement, and many forgotten double equals led to bugs …

There are no comments on this comment yet.