Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Recursive Function
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
![]() |
![]() |