[Biococoa-dev] initWithSymbol

Charles PARNOT charles.parnot at stanford.edu
Sat Mar 12 02:17:57 EST 2005


While you are on it, it would be nice to replace the methods '+aaForChar' and '+baseForChar' with a unique name like '+symbolForChar' in the subclasses. I have some ugly code in symbol set class that tests the kind of class just to know which method to call. In the case of this method, having the same name makes sense (polymorphism!).

Now that I think about it, funny how '+symbolForChar' and '-initWithChar' will have different and not so obvious meaning... I have to look at the code, I am not so sure now what the difference is!

charles


At 9:09 PM -0500 3/11/05, Koen van der Drift wrote:
>Hi,
>
>Anyone has objections if I in BCSymbol change:
>
>- (id)initWithSymbol:(unichar)aSymbol
>{
>	....
>
>to:
>
>- (id)initWithChar:(unichar)aChar
>{
>	...
>
>This seems more logical, initWithSymbol would imply that another BCSymbol is used.  Maybe we can also rename the ivar symbol to symbolChar?
>
>
>cheers,
>
>- Koen.
>
>_______________________________________________
>Biococoa-dev mailing list
>Biococoa-dev at bioinformatics.org
>https://bioinformatics.org/mailman/listinfo/biococoa-dev


-- 
Help science go fast forward:
http://cmgm.stanford.edu/~cparnot/xgrid-stanford/

Charles Parnot
charles.parnot at stanford.edu

Room  B157 in Beckman Center
279, Campus Drive
Stanford University
Stanford, CA 94305 (USA)

Tel +1 650 725 7754
Fax +1 650 725 8021



More information about the Biococoa-dev mailing list