DIP54 : revamp of Phobos tuple types

Michel Fortin michel.fortin at michelf.ca
Mon Dec 23 05:50:57 PST 2013


On 2013-12-23 01:39:24 +0000, "Dicebot" <public at dicebot.lv> said:

> http://wiki.dlang.org/DIP54
> 
> This is follow-up of several hot discussion threads that have happened 
> several months ago. It has become pretty clear that there is no good 
> way out of existing situation and least bad needs to be picked just to 
> move forward (because it still be better than current horrible one)
> 
> Linked proposal was discussed in short e-mail conversation with Andrei 
> (with silent observation with Walter) and is mostly pre-approved. I am 
> interested in general opinion of community and suggestions for any 
> smaller tweaks before starting to work on pull requests.
> 
> Thanks for your attention.

I do like this DIP.

I used to prefer auto-expanding, but working with C++11 templates 
convinced me otherwise. This is coming from someone who implemented a 
crazy function forwarding scheme for the template-based D/Objective-C 
bridge (not to confuse with the D/Objective-C compiler hack that came 
later).

That said, it'd be nice if the language reference and the compiler 
errors related to the language-level "tuple" used a different name than 
tuple too.

-- 
Michel Fortin
michel.fortin at michelf.ca
http://michelf.ca



More information about the Digitalmars-d mailing list