Re: object instance names generated on the fly?
Re: object instance names generated on the fly?
- Subject: Re: object instance names generated on the fly?
- From: Ben Dougall <email@hidden>
- Date: Sat, 22 Mar 2003 12:58:47 +0000
On Saturday, March 22, 2003, at 09:36 am, Aram Greenman wrote:
On Friday, March 21, 2003, at 02:03 PM, Ben Dougall wrote:
i want to create multiple instances of a particular object.
You don't create instances of an object, you create instances of a
class. An instance is an object. In Obj-C, a class is also an object,
although this is not the case in all OO languages.
Minor technicality, but you can see how it generates confusion.
yup fair enough, the word object on it's own is ambiguous that's for
sure. i wouldn't say that that an object is an object instance though -
it can be, but not necessarily, as you said yourself above - it can
mean other things. i find people can mean either/both the class and
instance when they say object. so there's potentially three different
meanings of object there, and there's probably more.
personally, in my mind, i change the word class for object blueprint
(because i don't like the word class - doesn't help me), so then i've
got object blueprints and object instances which makes things much
clearer, for me. and object, on it's own, remains pretty general, and
therefore potentially confusing - yes, best avoided.
_______________________________________________
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.