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

Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle For Fun

Re: Oracle For Fun

From: VC <boston103_at_hotmail.com>
Date: Tue, 03 Feb 2004 17:00:05 GMT
Message-ID: <psQTb.214106$xy6.1104207@attbi_s02>


Jeff,

"Jeff" <jeff_at_work.com> wrote in message
news:bvofo0$slk$1_at_cronkite.cc.uga.edu...
> In article <nGOTb.213791$xy6.1102746_at_attbi_s02>, "VC"
<boston103_at_hotmail.com> wrote:
>
> >> Changing this line to:
> >>
> >> if NOT f1(l.x) then l_str := 'not valid'; else l_str := 'valid'; end
if;
> >
> >Is not the trick you've just played called 'creating a strawman' in
> >logic 101 ? My if-statement handles NULLs just fine, thank you.
>
> It's not a "trick"... and what logic 101 course did you take? You don't
> always know how someone will use your function, so you should not assume
that
> it will not be tested for a FALSE value.

  1. The trick is replacing one if-statement with another and then critcsizing the replacement.
  2. The 'someone' has to learn the function/class/etc. interface before trying to use it, has not he/she ?

VC Received on Tue Feb 03 2004 - 11:00:05 CST

Original text of this message

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