[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
doesnt!
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.
-bat.
- Re: PATCH: Find more ObjC methods, (continued)
- Re: PATCH: Find more ObjC methods, Markus Hitter, 2003/10/03
- Re: PATCH: Find more ObjC methods, Alexander Malmberg, 2003/10/05
- Re: PATCH: Find more ObjC methods, Devang Patel, 2003/10/06
- Re: PATCH: Find more ObjC methods, Ziemowit Laski, 2003/10/06
- Re: PATCH: Find more ObjC methods, Alexander Malmberg, 2003/10/06
- Re: PATCH: Find more ObjC methods, Ziemowit Laski, 2003/10/06
- Re: PATCH: Find more ObjC methods,
Pete French <=
- Re: PATCH: Find more ObjC methods, David Ayers, 2003/10/07
- Re: PATCH: Find more ObjC methods, Devang Patel, 2003/10/07
- Re: PATCH: Find more ObjC methods, David Ayers, 2003/10/07
- Re: PATCH: Find more ObjC methods, Pete French, 2003/10/07
- Re: PATCH: Find more ObjC methods, Alexander Malmberg, 2003/10/07
- Re: PATCH: Find more ObjC methods, Devang Patel, 2003/10/07
- Re: PATCH: Find more ObjC methods, Ziemowit Laski, 2003/10/07
- Re: PATCH: Find more ObjC methods, David Ayers, 2003/10/07
- Re: PATCH: Find more ObjC methods, Alexander Malmberg, 2003/10/08
- Re: PATCH: Find more ObjC methods, Alexander Malmberg, 2003/10/07