I'd suggest losing the ternary for normal if statements.
There's enough duplication that the speed benefit of a ternary is probably being lost a bit.
Is there a better way for this switch statement?
Moderator: General Moderators