17 Jul
2023
17 Jul
'23
9:04 p.m.
On Tue, 18 Jul 2023 at 06:40, Dom Grigonis <dom.grigonis@gmail.com> wrote:
We even got a new operator “:=“ to help us with those beautiful one-liners (or not) to move towards aesthetics and brevity.
Was that really the intention? Because I was there when PEP 572 was written, and I don't recall "beautiful one-liners" as one of the justifying reasons. Use around if/while conditions was a strong reason, and yes, that can save a line, but "beautiful one-liners" hasn't generally been a justifying factor in any Python feature. ChrisA