Use "if else" style

Because the "XXX ? YYY : ZZZ" is long.