Ternary operators

Only use a ternary if it fits into 120-char line.