C#5 desiderata

Simen kjaeraas simen.kjaras at gmail.com
Fri May 28 18:15:15 PDT 2010


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
In all seriousness though, the implementation in that thread is good
enough for me, and with the language change Andrei mentioned in the same
thread, I would be a happy panda.

-- 
Simen


More information about the Digitalmars-d mailing list