On 12/7/06, Jeremy Woertink <its_conebred_foo / hotmail.com> wrote:
> Joe Van Dyk wrote:
> > Each instance of Joe has a MOOD which can be HAPPY, SAD, or NEUTRAL.
> >
> > The Joe class is written in C.  In C, what's the appropriate way for
> > setting MOOD to one of the appropriate values?
> >
> > Thanks,
> > An instantiated Joe object
>
> http://www.google.com/search?hl=en&q=constants+in+C&btnG=Google+Search

Is there much difference between using a C constant for that, and
using a Ruby instance variable (like how Mr. Hodel did)?