re: We don't need a ternary operator VIEW POST

TOP OF THREAD FULL DISCUSSION
re: It could be that calling it an operator is simply confusing. Coffeescript has a if (b < 5) then b else 5 Which makes it look more like a...
 

I really dislike the inline if ... else forms that some languages have, also including Python. It looks really messy, and more like a flow statement than an expression.

code of conduct - report abuse