[pedevel] Re: Style of constants?

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: pedevel@xxxxxxxxxxxxx
  • Date: Tue, 17 May 2005 23:45:50 +0200 CEST

Rainer Riedl <mlist@xxxxxxxxx> wrote:
> > Ah, freaking heck, I'm running out of alternatives >;o) so let's 
> > stay with
> > the #defines and just use consistent names (capitalized)...
> So how, in a ideal world, should the following examples look like 
> then?! :-)
> 
>       #define msg_OpenSelected
>       #define ri_BND_FILE_MENU
>       #define kmsg_Extend_Selection_with_Character_Left

If I understood Oliver correctly, it would be like this:
        #define msg_OpenSelected
        #define ri_BindingsFileMenu
        #define kmsg_ExtendSelectionWithCharacterLeft

Bye,
   Axel.


Other related posts: