Comment Comment by simjnd I think you could argue for it both ways. Then you could claim ternaries are inconsistent too, shouldn't it be:resultA : resultB ? (evaluation)if we always put result first?I think the most important piece of if statements and ternaries is the condition being evaluated and it's worth putting that first? parent simjnd 2 months ago
resultA : resultB ? (evaluation)
if we always put result first?
I think the most important piece of if statements and ternaries is the condition being evaluated and it's worth putting that first?