[pedevel] Re: Style of constants?

  • From: Oliver Tappe <pedevel@xxxxxxxxxxxxxxx>
  • To: pedevel@xxxxxxxxxxxxx
  • Date: Tue, 17 May 2005 20:27:11 +0200

On 2005-05-17 at 19:01:12 [+0200], Rainer Riedl wrote:
> > In order to avoid this rather large amount of work, I believe we should 
> > restrict ourselves to giving those constants consistent names, i.e. 
> > capitalized ones.
> 
> Ok, that large amount is only a minor one for me as I have a little php 
> script lying around that should do the job with ease. We just have to 
> agree on one form and I give it a run when I'm bored otherwise sometimes 
> :-)
> 
> > Furthermore, I suppose it would be neat to replace those #defines with 
> > anonymous enums, i.e. replace
> 
> I'm not sure rez is able to use enums (I think I tried it once but i 
> failed. But I'm not sure right a the moment)

Ah, freaking heck, I'm running out of alternatives >;o) so let's stay with 
the #defines and just use consistent names (capitalized)...

cheers,
        Oliver

Other related posts: