• 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: Opinions on static createŠ() methods for EOs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Opinions on static createŠ() methods for EOs


  • Subject: Re: Opinions on static createŠ() methods for EOs
  • From: Paul Hoadley <email@hidden>
  • Date: Thu, 20 Feb 2014 15:18:53 +1030

Hi Chuck,

On 20/02/2014, at 3:10 PM, Chuck Hill <email@hidden> wrote:

It is always safe to call localInstance.  My personal preference is to force the caller to do that so that they are aware if they have cross EC references.

Ah OK.

I can also see the argument for “just do what is safest”.

I hadn't thought of that benefit to leaving responsibility with the caller.  Anyway, I should pick one as I'm currently doing a bit of each with no consistency.


-- 
Paul Hoadley
http://logicsquad.net/



 _______________________________________________
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

  • Follow-Ups:
    • Re: Opinions on static createŠ() methods for EOs
      • From: Dev WO <email@hidden>
References: 
 >Opinions on static create…() methods for EOs (From: Paul Hoadley <email@hidden>)
 >Re: Opinions on static createŠ() methods for EOs (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Opinions on static createŠ() methods for EOs
  • Next by Date: Re: Opinions on static createŠ() methods for EOs
  • Previous by thread: Re: Opinions on static createŠ() methods for EOs
  • Next by thread: Re: Opinions on static createŠ() methods for EOs
  • Index(es):
    • Date
    • Thread