Re: class members? info
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