[Bioperl-l] Bio::PrimarySeqI

Hilmar Lapp hilmarl@yahoo.com
Mon, 19 Feb 2001 20:49:30 -0800


<warning: the following is very technical>

I started some cleanup work and cruft busting, beginning with seq
classes.

Some points about Bio::PrimarySeqI (and possibly others):
- Do we still need can_call_new()? First, we can create an object
of the same type by ref($self)->new() instead of $self->new().
Second, every object can now accept $self->new(). The second may
not necessarily be true for implementing classes that do not
inherit from RootI, but the first is always true. (Isn't it?)
- I thought we keep interfaces free of mutability-requirements.
PrimarySeqI->desc() mentiones setting, too. I haven't checked
others. Do we want to implement mutability-free as a general
guideline for interfaces?

More to follow possibly.

	Hilmar
-- 
-----------------------------------------------------------------
Hilmar Lapp                              email: hlapp@gmx.net
GNF, San Diego, Ca. 92122                phone: +1 858 812 1757
-----------------------------------------------------------------