From: Robert Klemme Date: 2005-05-24T01:40:17+09:00 Subject: Re: Multiple return and parallel assignement James Britt wrote: > Guillaume Cottenceau wrote: >> 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? > > Maybe. A vector. > > Or, um, a list. Vector implements List... ;-) Java the Hutt