Tuple DIP

JN 666total at wp.pl
Thu Mar 15 14:07:12 UTC 2018


On Friday, 12 January 2018 at 22:44:48 UTC, Timon Gehr wrote:
> As promised [1], I have started setting up a DIP to improve 
> tuple ergonomics in D:
>
> https://github.com/tgehr/DIPs/blob/tuple-syntax/DIPs/DIP1xxx-tg.md

I may be out of the loop here, but what is the actual usecase for 
tuples? What benefits does it bring? Isn't stuff like auto a, b = 
func() less clean than using structs, e.g. FuncResult ab = func() 
?


More information about the Digitalmars-d mailing list