3 ms·
Hadn't seen := in a new language in a while tho.
by varjag 4y ago
Hadn't seen := in a new language in a while tho.
- poo-yie 4y agogo has it. it's not brand new, but relatively new.
- pjmlp 4y agoWalrus operator in Python.
- qwertfisch 3y agoExcept 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 …