jtimmer at bellatlantic.net
Sat Feb 26 13:56:58 EST 2005
> But what if I want to know both the complement and the representations?
> I don't see any reason not to call the super method, as is the purpose
> of inheritance.
It 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.
As you can tell, I don't really care that much ;). Please change it and
commit the change if you do care.
This mind intentionally left blank
More information about the Biococoa-dev