A Discussion of Tuple Syntax

Meta jared771 at gmail.com
Fri Aug 16 18:02:31 PDT 2013


On Friday, 16 August 2013 at 23:48:53 UTC, bearophile wrote:
>> - #(a, b) is unambiguous and would probably be the easiest 
>> option. I don't think it looks too bad, but some people might 
>> find it ugly and noisy
>
> It looks nice (but I don't know if it's technically usable), I 
> have added it at the end of the list of alternative syntaxes:
> http://wiki.dlang.org/DIP32#Use_case_of_uniform_tuple_syntax

Why do you say that? It seems to me that it would be better than 
{}, because there's only 1 other language construct that uses #, 
so there's little overlap with other features.


More information about the Digitalmars-d mailing list