Re: Is this possible without multiple inheritance?
Re: Is this possible without multiple inheritance?
- Subject: Re: Is this possible without multiple inheritance?
- From: Jeff Harrell <email@hidden>
- Date: Fri, 4 Jul 2003 09:37:19 -0500
On Friday, July 4, 2003, at 09:23 AM, publiclook wrote:
Anything can be done without multiple inheritance. Anything can be
done without inheritance at all.
Not to pick nits, but that's not completely true. Say for example
there's a library function that takes an NSSet pointer as an argument.
You won't be able to pass anything but an NSSet or an instance of a
subclass of an NSSet to that function; the compiler won't let you.
That's a totally contrived example, of course, but subclassing both
NSSet and NSString seems pretty contrived, too, in the absence of any
more detailed information.
I'm not saying you're wrong; I'm just saying we don't know anything
about what Kyle really needs to do, so it's entirely possible that he's
dealing with a situation that's so unusual that inheritance might
really be what he needs.
I second your call for more information. ;-)
--
email@hidden
http://homepage.mac.com/jharrell
_______________________________________________
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.