Hacker News new | ask | show | jobs
by atiredturte 2530 days ago
I feel like walrus operators, while a cool construct, are at odds with "The Zen of Python".

Specifically "There should be one -- and preferably only one --obvious way to do it."

If this was any other language, the addition would be welcome, but I feel that the walrus operator fundamentally disagrees with what python is about.

It's not about terseness and cleverness, it's about being clear, and having one way to do things (Unless you are Dutch).

https://www.python.org/dev/peps/pep-0020/