3 ms·
True and False are internally considered to be one and zero, so that example is correct. String concatenation is not addition. How would you expect commutative
by Gordonjcp 4y ago
True and False are internally considered to be one and zero, so that example is correct.
String concatenation is not addition. How would you expect commutative string concatenation to work?
I guess, to boil it right down, what I'm asking is "do you understand what the word 'context' means?"
- qayxc 4y ago> String concatenation is not addition. Exactly! So why use the addition operator then? It's not as if alternatives (like the '&' I mentioned) aren't available.