Cleaning up and 2.0 - Addition and Concatenation (Program Bug and Problems)
Just to clarify, when you write "Binary AND" and "Binary OR", do you mean Bitwise AND and OR? Because that would really confuse users with background in C/C++, where && and || are the Logical AND and OR.
Unless it's for backward compatibility, I think three different operators for string concatenation are too much. In fact, for the sake of avoiding bugs I'd even give up the string-to-number functionality of the "+" operator altogether:
Number + number => number
String + string => string
Number + string => [Error]
(You can see I prefer strong-typing languages )
I am looking at this from the perspective of a complete beginner, e.g. my children. Perhaps there's a different audience for this which is bigger and more important...
- Cleaning up and 2.0 - Addition and Concatenation - Jim, 2016-03-26, 04:33