When D is not nice

Frank Benoit keinfarbton at googlemail.com
Mon Jul 7 02:35:53 PDT 2008


Manfred_Nowak schrieb:
> Frank Benoit wrote:
> 
>> "abc " + a + " bla";
> [...]
>> I would be happy if we could remove all three of this annoying
>> points. 
> 
> This seems as you want to give up strong typing.
> 
> The next one may come up with
> 
>   x= 2 + a + 4;
> 
> where a is an interface and requires that a should be easily 
> transformable for not geetting any error.
> 
> Would you allow or forbid that?
> 
> 
> -manfred

No, i don't want to give up strong typing.
Primarily i wanted to show that class/interface incompatibility is bad IMHO.

So i would say, 1.) is an important issue, 3.) is annoying and 2.) would 
be nice syntax sugar.



More information about the Digitalmars-d mailing list