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

There's a major difference though: `value if predicate else alternative` is itself a value, something you can assign to a variable or pass to a function as a parameter.


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

Search: