From: Guillaume Cottenceau Date: 2005-05-23T20:56:02+09:00 Subject: Re: Multiple return and parallel assignement On 5/20/05, James Britt wrote: > Eric Mahurin wrote: > > I've never quite understood why most languages inherently > > support returning only a single value > > Conceptual elegance? > > Seems cleaner to say that every expression returns an object, though > that the object may be a container for other objects, rather than assert > that expressions may return an unknown number of objects Then you would prefer that a function/method only takes one object as parameter, for conceptual elegance? No, this is all coming from implementation simplification. -- Guillaume Cottenceau - http://zarb.org/~gc/