Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Draft Proposal for Namespaces in Objective-C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Draft Proposal for Namespaces in Objective-C



On Apr 9, 2012, at 10:20 PM, Jayson Adams wrote:

> On Apr 9, 2012, at 4:44 PM, Michael Ash wrote:
>
>> For example, say I build an array class. Being a good citizen, I prefix it with my initials, so it's MAArray.
>
> Except that Apple has said that two-letter prefixes are off limits (see WWDC 2010 Session 130 - Future Proofing Your Application, about 10min in).  Just include your middle initial and you avoid this problem.

Sure, unless you happen to be named George Louis Kramer, or Apple decides to introduce a framework called Major Jetlag Accounting.

>> Maybe I've missed some nice way to have the IDE disambiguate things, but it seems to me that namespaces are something Objective-C really needs in the language.
>
> -1 if the cost of adding them is shackling the language (and its users) with mind-numbing complexity.

Plenty of other languages do namespaces without much complexity at all, let alone the mind-numbing kind.

Mike
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Objc-language mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Draft Proposal for Namespaces in Objective-C (From: Kyle Sluder <email@hidden>)
 >Re: Draft Proposal for Namespaces in Objective-C (From: Kyle Sluder <email@hidden>)
 >Re: Draft Proposal for Namespaces in Objective-C (From: Kyle Sluder <email@hidden>)
 >Re: Draft Proposal for Namespaces in Objective-C (From: Jonathan Schleifer <email@hidden>)
 >Re: Draft Proposal for Namespaces in Objective-C (From: Kyle Sluder <email@hidden>)
 >Re: Draft Proposal for Namespaces in Objective-C (From: Jens Ayton <email@hidden>)
 >Re: Draft Proposal for Namespaces in Objective-C (From: Uli Kusterer <email@hidden>)
 >Re: Draft Proposal for Namespaces in Objective-C (From: Ian Joyner <email@hidden>)
 >Re: Draft Proposal for Namespaces in Objective-C (From: Michael Ash <email@hidden>)
 >Re: Draft Proposal for Namespaces in Objective-C (From: Jayson Adams <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.