[Biococoa-dev] more ramblings

Koen van der Drift kvddrift at earthlink.net
Wed Dec 1 20:12:25 EST 2004


On Dec 1, 2004, at 10:53 AM, John Timmer wrote:
>

> Okay, I'll try to throw something together this weekend.  Actually
> implementing this is going to be problematic, since a lot of the 
> internals
> are going to depend on other parts of the code being implemented.  
> We're
> going to have to nearly complete the implementation before it actually 
> can
> be tested.


Why not describe a class structure on the list first, this way we can 
all discuss about it. Once it's in CVS it will be more difficult 
(albeit not
impossible) to change stuff.


What I mean is a scheme such as:


BCSequenceBundle
       |
       -> has-a  NSArray of BCSequenceWrapper


BCSequenceWrapper
       |
       -> has-a BCSequence, BCFeatures, etc


BCFeatures
       |
       -> has-a dictionary of features (d'oh)

etc



This is just an example, not the way I think it should be, because I 
have no idea how it should be :)


> Anyway, personally, I feel that throwing errors at compile time rather 
> than
> while a program is running is the better option

Actually, I think that is a good point. But we have to be aware of the 
fact that a developer can have all compiler warnings turned off.


- Koen.




More information about the Biococoa-dev mailing list