Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Recursive Function

Re: Recursive Function

From: Juan Cachito Reyes Pacheco <jreyes_at_dazasoftware.com>
Date: Fri, 7 May 2004 08:53:01 -0400
Message-ID: <000401c43432$3b772650$2501a8c0@dazasoftware.com>


Hi Jared
The problem Jared is not in programming. If you have a big function with several returns, is more difficult to understand 2 years later.
Now if it have several returns, it is either impossible.

If for example you don't use a notation to differentiate distinct kind of variables like the first letter (lanswer, cCharacter, etc) the code still will be readeable, but sometimes you will have to go to the declaration to know which kind of variable it is.

About
<I've written convoluted code in the past to try and use the <'only 1 return' rule, and decided it was silly. we have long long code, and have only one return, I don't know you code so I can give an opinion about it.

But definetively an ordered code is easier to debug,and to avoid making mistakes.

:)

Juan Carlos Reyes Pacheco
OCP
Database 9.2 Standard Edition



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
Received on Fri May 07 2004 - 07:56:56 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US