swarm-hackers
[Top][All Lists]
Advanced

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

[swarm-hackers] Naming conventions


From: Nima Talebi
Subject: [swarm-hackers] Naming conventions
Date: Tue, 17 Nov 2009 14:58:46 +1100

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

reply via email to

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