Re: Best Way® to test for existence of a rela tionsh ip
Re: Best Way® to test for existence of a rela tionsh ip
- Subject: Re: Best Way® to test for existence of a rela tionsh ip
- From: Chuck Hill <email@hidden>
- Date: Mon, 7 Apr 2008 08:47:26 -0700
On Apr 7, 2008, at 8:45 AM, Ken Anderson wrote:
Using instanceof on a member of an inheritance hierarchy is a bad
code smell. It is the code's ways of telling you that your design
is wrong. IMO.
Almost as bad as using case statements! (doh!)
Case statements are right out!
Chuck
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden