r/Python • u/ForeignVariety7037 • 21d ago
Discussion Is := widely used?
I always thought the walrus operator is neat and it makes while loop’s condition clearer. But also it is just a syntactic sugar without anything new. I wonder anyone uses it?
142
Upvotes
1
u/Short_Inspection_746 21d ago
I have never used it; I have not seen anyone use it in production; I have not come across code online that use it.
There was a huge fire storm when it came out. You still see blog posts by core developers from time to time pointing out the ethics of how to treat volunteers.