Re: Checking for null parameter
On Jun 10, 12:52 pm, Tom Anderson <t...@urchin.earth.li> wrote:
On Mon, 9 Jun 2008, Lew wrote:
Tom Anderson wrote:
On Mon, 9 Jun 2008, Lew wrote:
Also, an object cannot be 'null'. A reference can be.
Ahem:
http://c2.com/cgi/wiki?NullObject
Although of course that's really something quite different!
Indeed it is. The cited link has no mention whatsoever of Java.
...
I know you're nuts, Lew, but are you serious? Do you understand what a
How about a little break from the pointless /ad hominem/ arguments?
design pattern is? This is not something that's specific to java.
No, but the discussion here is, and the cited link was not relevant to
the discussion here.
As you yourself pointed out, it's a different subject altogether. The
"Null Object" in the wikipedia link has nothing to do with the fact
that in Java, no object can be null.
Whether I am nuts or not.
Just to be clear, i should point out that this is a digression - a Null
Object is not a 'physical' null, and doesn't involve the special
precautions we're discussing in the rest of the thread.
Again, confirming my point that the referenced article is not about
the Java 'null' that was the topic of this conversation.
Are you just picking fights to be ornery? You pretend to disagree,
then confirm the point I made.
--
Lew