I sort of prefer ternary operations in situations like this myself...