Why I (Still) Won't Use D

Walter Bright newshound1 at digitalmars.com
Thu Mar 27 12:16:41 PDT 2008


Michiel Helvensteijn wrote:
> So why not allow a library to define what an int[] or int[T] means? This
> would only work, however, if:
> 
> * No clashing implementations can be imported at the same time. (Just like
> two classes with the same name can't coexist.)
> * There is a default implementation for which you need no imports.

Like you suggested, the problem with a library defining how it works is 
that the library would have to be standardized so that code could 
interoperate, and this negates all the advantages of having it be in a 
library.



More information about the Digitalmars-d mailing list