Comment

Comment by atiredturte

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/

parent atiredturte 7 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton