Coding norms
Coding norms
- Subject: Coding norms
- From: Alan Nilsson <email@hidden>
- Date: Wed, 11 Dec 2002 21:48:59 -0800
I have a couple of questions about coding styles I was hoping to get a
consensus on.
1. Is it customary to declare delegate methods that a delegate class is
going to implement? For example, if you have an AppController class,
although it is not necessary to declare applicationDidFinishLaunching in the
header, but is it customary to do so?
2. What do most people (or perhaps what does industry expect) in regards to
private methods? For example, a method that is only used internally by a
class can be simply defined at the top of the implementation file and not
even declared in the header. What is the norm? Is there one? Personal
preference?
Thoughts anyone?
Alan
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.