[Top][All Lists]

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

Re: PATCH: Find more ObjC methods

From: Pete French
Subject: Re: PATCH: Find more ObjC methods
Date: Tue, 07 Oct 2003 10:12:12 +0100

> I'm not really sure if this statement is intended as a joke, as the
> smilie implies, or not. Do I need to explain why conventions, in
> addition to what the language enforces, and with help from the compiler
> in following them, are a good thing?

There is also a convention of not shoveling loads of things into the same
source file in ObjC too though. If you stuck to one file per object or category
then the problem doesnt arise. I would have said the new behaviour is very
sensible - i.e. if a method on a class is visible in a source file then it is
understood to be avaialble throughout the rest of the source file. Indeed,
thats how I thought it already worked, and was rather siurprised to find it

The new behaviour seems 1) very reasonable and 2) enirely consistent with what
C does. If you follow the convention of each category in its own source
file then you get the same warnings you do now.


reply via email to

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