[Biococoa-dev] Compilation warning with the factory class

Koen van der Drift kvddrift at earthlink.net
Sun Feb 6 10:07:45 EST 2005

On Feb 6, 2005, at 1:44 AM, Charles PARNOT wrote:

> I would be actually probably more inclined to use the (id) return 
> value, because there is then less code, and also because this is what 
> NextStep and Apple decided to do... What would be your choice?
> A final note: this does not mean we should not use BCSequenceFactory, 
> but that it could remain private. Another option, which I personaly 
> think is better, is to have the BCSequenceFactory code in the 
> BCSequence implementation, which will not have anything else anyway. 
> Indeed, the only job of the BCSequence placeholder class is to 
> determine which sequence type should be used and then return the right 
> instance types. What do you think, Koen?

I think it is a good idea to have BCSequence now take care of the code 
that is currently in BCSequenceFactory. Now we have the class cluster, 
there is probably no need anymore for a BCSequenceFactory class.

- Koen.

More information about the Biococoa-dev mailing list