What are the benefits and drawbacks of the ?: operator as opposed to the standard if-else statement. The obvious ones being:
Conditional ?: Operator
A really cool usage is:
x = foo ? 1 : bar ? 2 : baz ? 3 : 4;