As a small point of criticism put, I would, however, that I have ruled in my version of certain operators (shift, comparison and assignment operators) from the front early on to avoid confusion, which in my opinion one of the biggest problems with operator overloading is. Furthermore, would the approach of C + + also allow operators to define their own and if something like this is clearly understood yet?
String foo = new String ("foo") ° new String ("bar");
Since I am left wondering what the operator had never seen before.
Bookmarks