if a then b else c would be quite confusing as ternary expression compared to a regular conditional expression if a; b else c end considering the final end keyword. And it’s not even shorter, so really there’s no point in that. Just use the regular if.
2 Likes