The Misunderstood Conditional (Ternary) Operator
Most languages that come from a C background include a single conditional ternary operator with a syntax of exp ? true_val : false_val. This operator is often maligned and it is common to see its use prohibited in coding standards. Like all programming language features it can be abused at