0 or 1 based ranges ? (was: [Biococoa-dev] Annotation)

Alexander Griekspoor mek at mekentosj.com
Thu Feb 24 05:44:53 EST 2005

> Maybe we should have some methods that explicitely give the choice to 
> the user of the framework? The convention for ranges is so well 
> established that it is going to be confusing for us and for some 
> users. So we could have methods like 'subsequenceWithRange:' and 
> 'subsequenceWithSequenceRange:'.... the naming is not very good, uh?
> Actually, maybe we could create a new struct to handle 1-based ranges, 
> something like BCSequenceRange??
I like that idea, just a BCRange (1-based).... Can simply be added to 
BCFoundationDefines.h  We might have to implement a few of the NSRange 
utitilities as well though....

                     ** 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
                   AIM: mekentosj at mac.com
                   E-mail: a.griekspoor at nki.nl
               Web: http://www.mekentosj.com

                             iRNAi, do you?


More information about the Biococoa-dev mailing list