<HTML>
<HEAD>
<TITLE>Re: [Biococoa-dev] Using an untyped class sequence</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
<FONT COLOR="#006600">>> Which to me is the responsibility of the app-developer, not of BioCocoa. And <BR>
>> even with a singly-typed sequence, we still have the symbolset to check for <BR>
>> and adjust the GUI accordingly.<BR>
</FONT>Oh, I agree - App developer issue - that's why I tried to make clear it's a joke.<BR>
<BR>
<BR>
<FONT COLOR="#000098">> Nice discussion! But indeed the question which hasn't been answered by both <BR>
> pros and contras, can the symbolset provide the error checking and return <BR>
> value customisation to such a level that we don't need the typed sequences. <BR>
> Note that we could provide much of this in the BCSequence methods and I <BR>
> personally think it would be possible, which would give us one unified <BR>
> interface to BCSequence. What do you think? Charles did I now get it right, <BR>
> that you actually are thinking of only the typed versions? What's your <BR>
> viewpoint on this?<BR>
</FONT><BR>
There's no question that we're going to have a sequence type maintained somewhere - the question seems to be where. I have no doubt that, although the code would be structured differently, fairly equivalent functionality could be provided by either typed classes or by asking a sequence object what type of sequence it contained.  So, I’m not arguing about either of those aspects.<BR>
<BR>
In my earlier email, though, I provided a list of the advantages of typed sequence classes and some disadvantages of the alternative.  Koen had objected to typed sequence classes in the past because we had some code duplications, but with that problem now fixed, I’m not sure whether there are any disadvantages to typed classes.  I haven’t seen an equivalent list of advantages to typed classes.  The only thing that’s clear is that other BioX projects have used a single sequence class, but we don’t currently know their reasoning.<BR>
<BR>
So, can anyone sell me on the advantages of a single class?<BR>
<BR>
JT<BR>
<BR>
<BR>
_______________________________________________<BR>
This mind intentionally left blank<BR>
</SPAN></FONT>
</BODY>
</HTML>