Do as we say, not as we do
Avoid ambiguity in API names, such as method names that could be interpreted in more than one way.
sendPort
-
Does it send the port or return it?
displayName
-
Does it display a name or return the receiver’s title in the user interface?
-[NSConnection sendPort]
-[NSPortMessage sendPort]
-[NSDocument displayName]
-[NSFont displayName]
This entry was posted
on Thursday, August 30th, 2007 at 6:42 pm and is filed under Apple, Cocoa.
You can follow any responses to this entry through the RSS 2.0 feed.
Both comments and pings are currently closed.
To say nothing of all their HIG violations.