Re: avoiding ClassCastException
From: kjc (ksitron_at_elp.rr.com)
Date: 08/09/04
- Next message: Brian Palmer: "Re: avoiding ClassCastException"
- Previous message: Rod Davison: "Re: Dynamic RTN Generation"
- Maybe in reply to: Madhur Ahuja: "avoiding ClassCastException"
- Next in thread: Tor Iver Wilhelmsen: "Re: avoiding ClassCastException"
- Reply: Tor Iver Wilhelmsen: "Re: avoiding ClassCastException"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 09 Aug 2004 04:36:20 GMT
Ever heard of security,genious.
And, if you're clueless about the reference to security in the context
of checking for the exact class, then. As I stated before, this
discussion is a waste of good oxygen.
Thomas G. Marshall wrote:
> kjc <ksitron@elp.rr.com> coughed up the following:
>
>>This is a ridiculous discussion, since, if you have to rely on
>>instanceof to make your development correct. You should not be
>>developing.
>
>
> Huh? RTTI has a place. It's easy to abuse, but many times for pragmatic
> reasons it becomes critical.
>
> And it was /YOU/ who suggested the worst idea of all: Checking the precise
> name of the class.
>
> ...[rip]...
>
>
- Next message: Brian Palmer: "Re: avoiding ClassCastException"
- Previous message: Rod Davison: "Re: Dynamic RTN Generation"
- Maybe in reply to: Madhur Ahuja: "avoiding ClassCastException"
- Next in thread: Tor Iver Wilhelmsen: "Re: avoiding ClassCastException"
- Reply: Tor Iver Wilhelmsen: "Re: avoiding ClassCastException"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|