• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Class design question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Class design question
  • Next by Date: Re: Class design question
  • Previous by thread: Re: Class design question
  • Next by thread: Motion Blur
  • Index(es):
    • Date
    • Thread