Array literals' default type

language_fan foo at bar.com.invalid
Mon Oct 12 05:35:38 PDT 2009


Sat, 10 Oct 2009 17:15:55 +0200, Yigal Chripun thusly wrote:

> Now, wouldn't it be wonderful if D had provided real tuple support
> without all the Tuple!() nonsense?

'D has full built-in tuple support' has been the answer each time I've 
asked. It seems not to be advisable to ask more about this specific 
feature since the language creators easily get annoyed when asked about 
this. They see more value in reserving the syntax for the C style 
sequencing operator which is rarely used. Also they have apparently 
scientifically proven that the auto-flattening semantics of tuples 
somehow works better than real product types, and have no intention to 
make it an explicit controllable operation, which is also easily 
implementable.



More information about the Digitalmars-d mailing list