Hacker News new | ask | show | jobs
by make3 331 days ago
no one uses walrus
4 comments

It seems that way! I briefly experimented with it when it first came out, but never used it in any production code. I've never seen it used by anyone else, either.
I find it interesting that none of the voluminous python code I've had AI tools generate has ever had a walrus operator in it. Reflects the code they're trained on, I guess.
I use it very often. Avoids duplication of expensive operations in comprehensions.
I use it fairly often