Re: MV Keys

From: vc <boston103_at_hotmail.com>
Date: 8 Mar 2006 12:24:09 -0800
Message-ID: <1141849449.867055.200010_at_v46g2000cwv.googlegroups.com>


Mikito Harakiri wrote:
> [...] In my practice a simple function like
>
> int foo( int arg1 )
>
> often evolves to return more than one argument.

Then it's not a function by definition.

> It is very annoying to
> be forced to make a user defined type

That's bizarre. Why is it 'annoying' ?

>
> class ReturnValue (
> public int ret1;
> public int ret2;
> )
>
> which sole purpose is to work around the single function return type
> limitation. In many cases I can't even think of decent name for such a
> return struicture!
Received on Wed Mar 08 2006 - 21:24:09 CET

Original text of this message