On 02/01/2019 04:29, Stefan Ram wrote:
A slide from Ben Deane's talk about C++:
-------------------------------------------------------.
| |
| ODD THING #1: ASSIGNMENTS ARE EXPRESSIONS |
| |
| Assignment as an expression is a historical choice. |
| It's doing us no favours today. |
| Assignment should be a statement. |
| |
'-------------------------------------------------------'
"Easy To Use, Hard to Misuse: Declarative Style In C++" (talk),
Ben Deane (2018-05)
(Yes, he wrote "favours" in this way.)
Probably because he speaks English and not American.
--
https://mail.python.org/mailman/listinfo/python-list