A different tuple syntax

bearophile bearophileHUGS at lycos.com
Thu May 30 10:02:52 PDT 2013


Diggory:

> I'm sorry that you don't like it, but I don't see why it's any 
> more of a hack than any of the other methods presented thus far?

t{} doesn't look wonderful compared to Python-like tuples, but 
maybe it's the best syntax seen so far that doesn't clashes with 
tuple(), Tuple!(), TypeTuple!(), comma operator syntax, lambdas, 
parameter-less lambdas, and so on.

Bye,
bearophile


More information about the Digitalmars-d mailing list