3 ms·
It's fallout of the fact that assignment must be a statement, and cannot be an expression. Eg. This is wrong in python, while it would be allowed in c-like lan
by londons_explore 5y ago
It's fallout of the fact that assignment must be a statement, and cannot be an expression.
Eg. This is wrong in python, while it would be allowed in c-like languages
print(a=5)
- orf 5y agoIt’s possible now with the walrus operator though: print(a:=5)