2 ms·
It isn't as much about the coercion as the consistency: the division case returning a float when given integers is fine if the division operator always does tha
by saurik 13y ago
It isn't as much about the coercion as the consistency: the division case returning a float when given integers is fine if the division operator always does that. Some languages (VB being an example; I wish more were) have a "string concatenation" operator that is separate from numeric addition; 1 & 2 is always going to be "12".