Why do most programming languages only return a single value from a function?

Stack Exchange

This Q&A is part of a weekly series of posts highlighting common questions encountered by technophiles and answered by users at Stack Exchange, a free, community-powered network of 100+ Q&A sites.

M4N asks:

Is there a reason why functions in most(?) programming languages are designed to support any number of input parameters but only one return value?

Read 18 remaining paragraphs | Comments

    



via Ars Technica http://feeds.arstechnica.com/~r/arstechnica/index/~3/2g5TRckkNcA/story01.htm

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s