www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Re: Unofficial wish list status.(Nov 2008)

reply ore-sama <spam here.lot> writes:
KennyTM~ Wrote:

 Right. It should be a tuple instead of an array for more generic variants.
 
 I think this (x, y) = ... is just as good as [x, y] = ...

this is useless :P use structs or arrays.
Nov 01 2008
parent KennyTM~ <kennytm gmail.com> writes:
ore-sama wrote:
 KennyTM~ Wrote:
 
 Right. It should be a tuple instead of an array for more generic variants.

 I think this (x, y) = ... is just as good as [x, y] = ...

this is useless :P use structs or arrays.

Think of it as another syntactic sugar :p
Nov 01 2008