C#'s greatest mistakes

Kagamin spam at here.lot
Fri Nov 26 23:18:51 PST 2010


Torarin Wrote:

> Static interfaces (same thing as c++ 0x's ditched concepts) seem very
> useful. Did you consider them at some point?

static interface seems consistent with C#, though, I think static class is misdesing by itself. I'd prefer

template interface ISummable(T)
{
   static T opAdd(T lh, T rh);
}


More information about the Digitalmars-d mailing list