4 ms·
“Somebody” ignored the wisdom of Lisp, which was “everything is an expression and evaluates to a value” (no statements vs expressions), and made assig
by timonoko 6y ago
“Somebody” ignored the wisdom of Lisp, which was
“everything is an expression and evaluates to a value”
(no statements vs expressions), and made assignment a
statement in Python years ago.
This was the philosophy of Algol. That is why ":=" was invented there. From Lex Fridman interview I understood that Guido was not educated enough to understand some issues, and tried to fix them afterwards. :-)
- yodelshady 6y agoFunny, a very similar sentiment, but inverted was expressed in a rant about c# shared on here a couple of days ago - typing `foo.bar()` and implicitly discarding the result, because you assumed foo.bar() was a statement. My first though was "that's the single largest cause of avoidable bugs in my python code".