C#5 desiderata

Don nospam at nospam.com
Sat May 29 08:59:52 PDT 2010


Simen kjaeraas wrote:
> bearophile <bearophileHUGS at lycos.com> wrote:
> 
>> Simen kjaeraas:
>>
>> I think you have missed one important point: that was not my list of 
>> things I'd like in D2/D3. It contains some cute things, but it's first 
>> of all a summary of the linked stackoverflow thread. My personal list 
>> of desiderata for D3 is different.
> 
> You are right indeed. I misread that first sentence to its exact
> opposite. :p
> 
> 
>> I think Walter said this can't be implemented :)
> 
> I think Walter just doesn't want to implement it. :p
> 
> 
>> The items alignment of function arguments used by D tuples is not 
>> fitting to return a struct.
> 
> Yeah. So, either we need thunks for this, or tuples need to carry
> alignment information.
> 
> 
>>> Neat. Worthy an @keyword, I think. "@flag enum foo {...}"
>>
>> It's cute. But Don hates attributes :-) Recently I have created a 
>> thread about this, and some one has written a good enough 
>> implementation in normal D code, that can be "good enough".
> 
> Screw Don. :p

<g>. I just think that @ shouldn't be an excuse to be careless -- 
anything with an @ in front is still part of the language. That's all.


More information about the Digitalmars-d mailing list