Re: Why Oracle is st00pid:

From: Ron Reidy <reidyre_at_yahoo.com>
Date: 10 Dec 2002 17:31:58 -0800
Message-ID: <ab425431.0212101731.606f9f4d_at_posting.google.com>


This is not a st00pid concept, nor is it an Oracle concept. This is a long standing concept in CS.

If you want to receive multiple values from a function, have the function return a record (in CS parlence, a struct). Then you have "multiple" values.

And yes, for the record, it is **extremely** poor programming practice.

sureucanspaamme_at_hotmail.com (Johnny Random) wrote in message news:<94c83f6f.0212100639.4e3d3921_at_posting.google.com>...
> I would love to bitch slap the idiot that wrote this:
> "It is poor programming practice to have a function return multiple
> values."
>
> Gee, by that same token it must be "poor programming practice" for a
> query to return multiple rows, or multiple records for that matter.
> Apparently a function should just return 1 or 0. Then you can use
> another function to string the 0's and 1's together, then another
> function to convert them to hex, then another to convert them to
> ASCII, then another to concatinate all the values, then another
> un-concatinate the values, and finally one to bitch slap the moron
> that is so f'ing stupid that he can't see the need for a function to
> return multiple values. And that ladies and genitalmens is why Oracle
> is st00pid...
Received on Wed Dec 11 2002 - 02:31:58 CET

Original text of this message