swarm-hackers
[Top][All Lists]
Advanced

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

Re: [swarm-hackers] Naming conventions


From: Scott Christley
Subject: Re: [swarm-hackers] Naming conventions
Date: Mon, 16 Nov 2009 20:59:09 -0800

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


reply via email to

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