Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

no one uses walrus


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: