Wondering if solidity supports operator overloading like python does?
Something like:
---WARNING PSEUDOCODE---
overload __+__ {
if (type(arg1) == string && type(arg2) == string){
return arg1.append(arg2);
}
}
I would use this to rewrite the SafeMath library, as SafeMath adding/multiplying/etc. in a long string becomes very unreadable...
Cheers!