upvote
That isn't more concise than

   foo = bar ? 1
             : baz ? 2
                   : 3;
reply
But it's more readable, and that's what matters.
reply