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

    outputs = [y for x in inputs
               if (y := f(x)) is not None]
I can't stand this new syntax, y is declared and assigned after the first instance of its use.


Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: