Tuple literal syntax
bearophile
bearophileHUGS at lycos.com
Fri Oct 8 03:30:35 PDT 2010
Lars T. Kyllingstad:
> Personally, I don't think we should start adding a dedicated tuple syntax
> at this point. There are so many things that are more important, and
> besides, I think the library tuples are pretty cool. We should instead
> focus on making Tuple!(...) even better.
Tuples are a basic part of a language, they need to come before web tools, loggers, numeric libraries and so on. You build Phobos and all those things with a language. So if the language is better, you will work better.
>From what I've seen so far in this thread the Tuple/Record library solution will be kept, but some built-in syntax sugar (unpacking, and maybe for the literals) helps in making tuple usage more handy and clean.
Bye,
bearophile
More information about the Digitalmars-d
mailing list