Re:I'm Switching to Python and Actually Liking It
by make3 on Wednesday July 16, 2025 @06:33PM
(#44587546)
no one uses walrus
[ Parent
| on HN ]
Re:I'm Switching to Python and Actually Liking It
by icedchai on Wednesday July 16, 2025 @09:07PM
(#44588668)
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.
Re:I'm Switching to Python and Actually Liking It
by Qem on Wednesday July 16, 2025 @09:22PM
(#44588758)
I use it very often. Avoids duplication of expensive operations in comprehensions.
Re:I'm Switching to Python and Actually Liking It
by 9cb14c1ec0 on Wednesday July 16, 2025 @09:26PM
(#44588781)
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.