swarm-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [swarm-hackers] Naming conventions


From: Nima Talebi
Subject: Re: [swarm-hackers] Naming conventions
Date: Tue, 17 Nov 2009 16:23:54 +1100

Yeah, these young companies, and their youthful ways, no respect for their elders.

On Tue, Nov 17, 2009 at 3:59 PM, Scott Christley <address@hidden> wrote:
Gosh!  How dare Apple make up a convention after Swarm was written!  They could have at least consulted us  ;-D

We subclass very few of Apple's classes, only NSObject actually, so we should be okay.

Scott

On Nov 16, 2009, at 7:58 PM, Nima Talebi wrote:

From Apple...

Avoid the use of the underscore character as a prefix meaning private, especially in methods. Apple reserves the use of this convention. Use by third parties could result in name-space collisions; they might unwittingly override an existing private method with one of their own, with disastrous consequences. See “Private Methods” for suggestions on conventions to follow for private API.

...I've noticed there are a lot of underscore-prefixed names in the Swarm framework.

Nima
_______________________________________________
swarm-hackers mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/swarm-hackers


_______________________________________________
swarm-hackers mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/swarm-hackers




--
Nima Talebi
web: http://ai.autonomy.net.au/People/Nima
gpg: B51D 1F18 D8E2 B702 B027 23A4 E06B DAC1 BE70 ADC0

reply via email to

[Prev in Thread] Current Thread [Next in Thread]