Would a ternary be better or worse for readability here?