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

I believe that I hit places where I'd use the walrus about once every few hundred lines of python, so I do see a use for it. OTOH I am worried that it makes the language harder to understand for beginners, and that is a very important role Python plays in the world of programming languages.

The abbreviated f-string syntax looks weird and kinda wrong to me. But then I'm not even sure I've got comfortable yet with the object field initialization shortcuts in Javascript and Rust (where you also get to omit stuff to avoid repeating yourself).



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

Search: