To many relationships probably should have been implemented as NSSet not NSArray. Properly they are sets and using NSArray deludes people into thinking it really is an ordered list. I'd guess that they used NSArray to avoid the NSSet overhead of verifying that an object is not in the set before adding it.
Almost all of EOF and WO should be NSSet instead of NSArray. The vast majority of API that returns an array doesn't really mean it. If you look at the EOF model stack impl in WOLips, you'll notice it's all Set, and it makes the API a lot more clear.

ms

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to