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

IF as an expression isn't brainfuck, it's functional programming!


I just wish it had syntax like JS promises, so the closing brackets weren't such a mess...


IF as an expression is C-like, it's the ternary operator.




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

Search: