Rant after trying Rust a bit

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Wed Aug 5 23:54:47 PDT 2015


On 8/3/2015 2:19 AM, Max Samukha wrote:
> The point is that '+' for string concatenation is no more of an 'idiot thing'
> than '~'.

Sure it is. What if you've got:

    T add(T)(T a, T b) { return a + b; }

and some idiot overloaded + for T to be something other than addition?


More information about the Digitalmars-d mailing list