[Biococoa-dev] more ramblings

Alexander Griekspoor mek at mekentosj.com
Fri Dec 3 18:58:11 EST 2004

Op 4-dec-04 om 0:17 heeft Koen van der Drift het volgende geschreven:

> On Dec 3, 2004, at 5:33 PM, Alexander Griekspoor wrote:
>>> No. What I proposed was that a wrapper class (eg BCTranslate) first 
>>> checks the sequence type. If it can handle it, it will continue, if 
>>> not, it will return nil (or an empty NSArray or whatever).
>> Ok, but then it can in principle handle general BCSequences as well 
>> ;-)
> Exactly!!!   See, no reason to subclass BCSequence :D
LOL, as said let's see where the evolution of our framework is heading 
to ;-)
>> methodnames should include the things they return (IF they return 
>> something of course), so if you would have findSubstring it wouldn't 
>> make sense, and actually neither really does findRangeOfSubstring: 
>> but I could live with the latter...
> Actually, BCFindSequence returns an NSArray of ranges, so that would 
> become:
> arrayOfRangesOfSubstring
Ouch, that's awful, I believe nsstring uses something like 
occurencesOfString, but a find prefix would maybe do an even better 

                     ** Alexander Griekspoor **
               The Netherlands Cancer Institute
               Department of Tumorbiology (H4)
          Plesmanlaan 121, 1066 CX, Amsterdam
                   Tel:  + 31 20 - 512 2023
                   Fax:  + 31 20 - 512 2029
                   E-mail: a.griekspoor at nki.nl
	        AIM: mekentosj at mac.com
               Web: http://www.mekentosj.com

                  EnzymeX - To cut or not to cut


More information about the Biococoa-dev mailing list