[Biococoa-dev] Using an untyped class sequence

Koen van der Drift kvddrift at earthlink.net
Thu Jul 7 20:29:47 EDT 2005


On Jul 6, 2005, at 6:53 PM, John Timmer wrote:

>
>> Anyway, if the majority wants to subclasses, then that's fine with me.
>> However, lets stick with the current subclasses, and create variations
>> through the symbolsets.
> Absolutely agreed.

Great :)

Now how do we structure the current BCSequenceXXX classes? Do we keep 
the BCSequence/BCAbstractSequence pseudo class-cluster, or are we 
changing it to a superclass and three regular subclasses, with as musch 
as code in the superclass?  I would vote for the latter, mainly because 
the former seems to be confusing in use.

>
> The only place where this gets tricky is if we want both mutable and
> non-mutable sequences.  The ideal thing would be to have our existing
> subclass files act to subclass both a mutable and non-mutable generic
> sequence superclass, but I don't think that can be done.  Is there 
> anything
> about ObjC that would allow the equivalent functionality?

You mean multiple inheritance? No I don't think that is possible in 
ObjC.

cheers,

- Koen.




More information about the Biococoa-dev mailing list