• 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: accessor generation???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: accessor generation???


  • Subject: Re: accessor generation???
  • From: Phillip Mills <email@hidden>
  • Date: Sun, 7 Jul 2002 08:24:14 -0400

On Saturday, July 6, 2002, at 08:40 AM, Erik J. Barzeski wrote:

Say I've got Person.h/m. Guess what? Pretty accessor-heavy. Persons are
objects - they're models of real-world people (at least in this example).

Without knowing the application, it's hard to generalize...but that doesn't always stop me. :-)

There may be cases where a Person is primarily a data container, but my first expectation would be that a Person would be primarily defined by behavior and therefore would not be accessor-heavy -- at least at the design stage.

Actually, my *real* first expectation would be that 'Person' would be an abstract base class, but that's a different subject. Or, maybe it is on-topic in the sense that base classes often define behavior without data to support an implementation. (i.e. No data, no accessors.)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: accessor generation???
      • From: "Erik J. Barzeski" <email@hidden>
References: 
 >Re: accessor generation??? (From: "Erik J. Barzeski" <email@hidden>)

  • Prev by Date: Re: When is my delegate released?
  • Next by Date: Re: When is my delegate released?
  • Previous by thread: Re: accessor generation???
  • Next by thread: Re: accessor generation???
  • Index(es):
    • Date
    • Thread