[Biococoa-dev] Update

Koen van der Drift kvddrift at earthlink.net
Sat Feb 26 14:52:55 EST 2005

On Feb 26, 2005, at 1:56 PM, John Timmer wrote:

> t really doesn't matter that much - they'd both be created as soon as 
> they
> are needed.  You're welcome to change it to call super, if you'd 
> prefer it
> that way.  There will be a very slight performance decrease if you 
> only want
> one or the other, but I'm quite certain it would be negligible.
> As for inheritance, it could be argued either way.  If you view
> representations and complements as essentially the same thing (ie -
> relationships between symbols), then yes, the method should call 
> super.  If
> you view them as separate features (ie - complement reflects actual 
> biology,
> representations reflect human designated abbreviations), then the 
> design as
> it now stands is appropriately modular.

Aah, but you renamed the method in BCNucleotide from 
initializeSymbolRelationships to initializeComplementRelationships :-)

In that case there is no need to call the super method. I assumed the 
method in BCNucleotide would still be initializeSymbolRelationships, in 
which case the super has to be called.

- Koen.

More information about the Biococoa-dev mailing list