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

IMO, both ternary operator form & Rust/Haskell/Zig syntax works pretty well. Both if expression syntax can be easily composed and read left-to-right, unlike Python's `<true-branch> if <cond> else <false-branch>`.


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

Search: