[Biococoa-dev] BCPairwiseAlignment
Koen van der Drift
kvddrift at earthlink.net
Sat Mar 12 15:53:04 EST 2005
On Mar 12, 2005, at 3:17 PM, Charles PARNOT wrote:
> Categories are not 'evil'. They are often warned against, but this is
> mostly when using categories on Apple's classes, because you don't
> know in which order they are loaded, and you don't know if your
> category might interfere with someone else's category, and which one
> will override which in case two methods have the same name.
>
> However, categories used inside your own code can be a nice way to cut
> your class in smaller chunks, both physically (different files), and
> logically (I believe the compiler will only recompile the category if
> only the catgory is modified, which makes for faster builds). For the
> user of our framework, it is completely transparent, as long as you
> put all the interfaces in the same header file, so that all the
> headers can be #import-ed at once.
>
Thanks - I was under the impression that categories were intended to be
used to extend private frameworks, such as Foundation.
- Koen.
More information about the Biococoa-dev
mailing list