• 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: class members? info
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: class members? info


  • Subject: Re: class members? info
  • From: Jeff Childers <email@hidden>
  • Date: Mon, 19 Sep 2005 19:56:26 -0500


On Monday, September 19, 2005, at 06:50 PM, John C. Randolph wrote:


On Sep 19, 2005, at 4:38 PM, Jeff Childers wrote:

is there a way to ask 'SomeClass' about its ivars?( or whatever they are call).

.... Keep in mind that if you do this, you're breaking encapsulation, etc, etc.



I am not trying to argue about but I am very curious about this.

encapsulation is a method of combining elements to create a entity
abstraction combining similar functions into a single function
information hiding is a process of hiding complexities into a higher level object


if these definitions are correct

now if in my class furnishes my ivars names and data types then this is ok but
if the class that I am passing my data and class info is able to find class
information on its own it breaks the rules? what about abstraction? or for that
matter simplicity which to me is way more important than the rules.
I'm missing the point somewhere?


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Entourage nightmare
      • From: Kok-Yong Tan <email@hidden>
    • Re: class members? info
      • From: John Stiles <email@hidden>
References: 
 >Re: class members? info (From: "John C. Randolph" <email@hidden>)

  • Prev by Date: Re: NSKeyedArchiver exception
  • Next by Date: Re: class members? info
  • Previous by thread: Re: class members? info
  • Next by thread: Re: class members? info
  • Index(es):
    • Date
    • Thread