Re: Class design question
Re: Class design question
- Subject: Re: Class design question
- From: Koen van der Drift <email@hidden>
- Date: Sun, 13 Feb 2005 14:51:46 -0500
On Feb 13, 2005, at 12:52 PM, email@hidden wrote:
These classes are very nice in the sense
that they're easy to use and code but it seems incredibly wasteful to
have 20 different fairly large classes to handle a difference of a
single variable.
Ken,
Are you maybe trying to write a class for amino acids? In that case,
for the BioCocoa project we are using the singleton pattern to
represent the 20 (plus some custom ones) amino acids, but all are the
same class. See http://bioinformatics.org/project/?group_id=318 and
look at the code in cvs. The current download does not yet have the
amino acids classes implemented.
- Koen.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden