Changing ternary grammar into something less eye-bleedy X)

if Z then X else Y good
Z ? X : Y bad