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

Probably the same kind of place that bans use of the ternary conditional operator because it's "too complicated" <sigh>


Eh, I can't say that I have any love for the ternary if operator. It is an ugly construct made necessary by the other flow control constructs being statements. Scala lets you just use if/else like that, the result is much clearer at the cost of 4 or so characters.




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

Search: