logoalt Hacker News

userbinator • yesterday at 10:06 PM • 1 reply • view on HN

That isn't more concise than

   foo = bar ? 1
             : baz ? 2
                   : 3;

Replies

AlienRobot • yesterday at 10:19 PM

But it's more readable, and that's what matters.

➕ show 1 reply