• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Best Way® to test for existence of a rela tionsh ip
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Best Way® to test for existence of a relationship (From: David Avendasora <email@hidden>)
 >Re: Best Way® to test for existence of a relationsh ip (From: Bob Stuart <email@hidden>)
 >Re: Best Way® to test for existence of a relationsh ip (From: Chuck Hill <email@hidden>)
 >Re: Best Way® to test for existence of a relationsh ip (From: Mike Schrag <email@hidden>)
 >Re: Best Way® to test for existence of a relationsh ip (From: David Avendasora <email@hidden>)
 >Re: Best Way® to test for existence of a rela tionsh ip (From: Bob Stuart <email@hidden>)
 >Re: Best Way® to test for existence of a rela tionsh ip (From: Chuck Hill <email@hidden>)
 >Re: Best Way® to test for existence of a rela tionsh ip (From: Ken Anderson <email@hidden>)

  • Prev by Date: Re: Best Way® to test for existence of a rela tionsh ip
  • Next by Date: Re: Best Way® to test for existence of a relationship
  • Previous by thread: Re: Best Way® to test for existence of a rela tionsh ip
  • Next by thread: Re: Best Way® to test for existence of a rela tionsh ip
  • Index(es):
    • Date
    • Thread