loading...

Discussion on: What do you think about the ternary operator?

Collapse
moopet profile image
Ben Sinclair

I agree with the others here that they're nice for simple conditions but should be used sparingly. They're particularly good in simple return statements.