Re: C question for you old guys ;-)
Re: C question for you old guys ;-)
- Subject: Re: C question for you old guys ;-)
- From: Jeff Harrell <email@hidden>
- Date: Wed, 11 Jun 2003 14:51:47 -0500
On Wednesday, June 11, 2003, at 11:37 AM, Sailor Quasar wrote:
I didn't want to get involved in this thread, but I have to disagree.
"is" could have at least two meanings in an Objc environment:
Technically that's true, but I think the understanding would be
intuitive that "a is b" would have the same meaning as "a == b," which
means "a points to the same memory address as b." That's just how
Objective C works.
[a equals b] or [a isEqualTo b] are the more common idioms used for
actual value comparison... which is something that's useful for
NSString and NSNumber and not a whole heck of a lot else, in my
experience.
--
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.