DIP54 : revamp of Phobos tuple types
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Mon Dec 23 15:23:46 PST 2013
On 12/23/13 4:07 AM, bearophile wrote:
> Jakob Ovrum:
>
>> One tuple and two compile-time lists - where the auto-expanding one
>> covers the vast majority of use cases - doesn't sound at all bad.
>
> Plus built-in syntax to unpack tuples in various situations.
I don't think "various situations" is a good idea. It often does make
code shorter. But it means more rules to be defined, implemented, and
taught.
Andrei
More information about the Digitalmars-d
mailing list