Objective C class prefix
Objective C class prefix
- Subject: Objective C class prefix
- From: Marco Scheurer <email@hidden>
- Date: Tue, 8 Feb 2005 23:40:02 +0100
Hello,
For a long time we've been happy with the 2 letter class prefix
convention. But now Apple is more and more using prefixes other than
the venerable "NS": "CF" for CoreFoundation, "AB" for AddressBook, "CG"
for CoreGraphics, "AM" for Automator, "MD" for metadata etc. and the
risk of collision is growing.
It's not just that the probability of two classes having the same name
and prefix is higher, but that it bothers me to share a "prefix space"
with unrelated classes (it just happened with "AM").
I've never been a huge fan of Java's namespace, and it's not available
anyway. I was wondering how others are coping with this: 3 letter
prefixes? no prefix? ignoring the issue?
Marco Scheurer
Sen:te, Lausanne, Switzerland http://www.sente.ch
_______________________________________________
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