[Prev][Next][Index][Thread]
Re: small Q
In article <Gsyj5.3194$pu4.263441@typhoon.ne.mediaone.net>,
"Scott McKay" <swm@mediaone.net> wrote:
> Multiple return values
> is one of those things that, once you use them, you can't imagine why
> all languages don't have them.
Yes, imagine if functions in programming languages could only *take* one
parameter. That would be lame. Being able to return only one value
from a function is no different: It forces one to resort to structures,
collections, or global variables.... all of which have a negative
influence on organization and/or clarity of ones source code.
Sent via Deja.com http://www.deja.com/
Before you buy.
Follow-Ups:
References:
- small Q
- From: jt <gkt37@dial.pipex.com>
- Re: small Q
- From: "Scott McKay" <swm@mediaone.net>