Ugh, just spent 10 minutes try to figure out why "x = 3; if x? 'y' else 'n'" returns 'n'. Turns out CS requires "then" for a 1-line if stmt.
https://twitter.com/dubroy/status/371647675017334785 ∙ Archived on 2025-03-28.
https://twitter.com/dubroy/status/371647675017334785 ∙ Archived on 2025-03-28.