[Bioperl-l] Identifiable and Describable

Matthew Pocock matthew_pocock@yahoo.co.uk
Wed, 24 Jul 2002 06:52:29 +0100


>>they use the same slots in semantically identical ways and it is more
>>encoding things...
>>
> 
> 
> They do, right. But the LSID string would be an encoding, wouldn't it? And another one might encode the same information in a different way, right? So, the method lsid_string() returns an encoding, and the name implies that it's a specific encoding.
> 
> One could rename to say id_string() in the interface, and an implemention using the LSID encoding then returns an LSID-compliant string ... Does that make sense?
> 
> 	-hilmar

Is this arguing for a tiny encoding interface with a single method that 
eats an identifier and makes a string?

Matthew