[Biococoa-dev] 2 initial observations

Alexander Griekspoor a.griekspoor at nki.nl
Thu Aug 26 08:18:33 EDT 2004


Hi guys,

Two minor things I noted thusfar;

In BCNucleotideDNA.h:

     @method     representsBase: (BCNucleotideDNA *)entry;
     @abstract   Evaluates whether the receiver represents the entry
     @discussion When called on adenosine, this method will return YES 
if the entry is adenosine,
  *  weak, any base, etc.
*/
- (BOOL) representsBase: (BCNucleotideDNA *) entry;

/*!
     @method     isRepresentedByBase: (BCNucleotideDNA *)entry;
     @abstract   Evaluates whether the receiver is represented by the 
entry
     @discussion When called on adenosine, this method will return YES 
if the entry is adenosine,
  *  weak, any base, etc.
*/
- (BOOL) isRepresentedByBase: (BCNucleotideDNA *) entry;

The headerdoc info for both methods is exactly the same, guess that 
can't be right John....

Koen,
In your masscalculator there are two methods:

-(float) getMassUsingMassType:(BCMassType)massType;
-(float) getMassUsingMassType:(BCMassType)type 
addModifications:(BOOL)mods;

Why isn't the first parameter name identical in both methods. It would 
be the finishing touch to make it either:

-(float) getMassUsingMassType:(BCMassType)type;
-(float) getMassUsingMassType:(BCMassType)type 
addModifications:(BOOL)mods;

or

-(float) getMassUsingMassType:(BCMassType)massType;
-(float) getMassUsingMassType:(BCMassType)massType 
addModifications:(BOOL)mods;

I like the first one more. It's a detail I know, sorry for the 
nitpicking...
Alex

*********************************************************
                     ** 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

Windows is a 32-bit patch to a 16-bit shell for an 8-bit
operating system, written for a 4-bit processor by a 2-
bit company without 1 bit of sense.

*********************************************************




More information about the Biococoa-dev mailing list