Abdelrazak Younes <[EMAIL PROTECTED]> writes:

| Lars Gullik Bjønnes wrote:
| > Abdelrazak Younes <[EMAIL PROTECTED]> writes:
| > | Lars Gullik Bjønnes wrote:
| > | > [EMAIL PROTECTED] (Lars Gullik Bjønnes) writes:
| > | > | Abdelrazak Younes <[EMAIL PROTECTED]> writes:
| > | > | | | UniqueGui
| > | > | | UniqueGuiInstance
| > | > | | GuiImplementation
| > | > | | GuiInstance
| > | > | | LarsGui
| > | > | | Ahh... you are tickling my ego.
| > | > | | | LyXGui
| > | > | | GuiGui
| > | > | | MyGui
| > | > | | MyGuiIsBig
| > | > | | I think I liked 'GuiInstance'
| > | > for the variable name that is...
| > | | That would be gui_instance_ then.
| > Not according to our naming scheme, then it would be 'guiInstance_'.
| 
| By the way, this is written nowhere and I had the impression that
| "gui_instance_" style was the rule in the current code. Could you
| confirm that please because I used the "gui_instance_" style
| everywhere already :-(

Perhaps the wrong heading but... from development/Code_rules/Rules:

        * Naming rules for classes
        
          - Use descriptive but simple and short names. For stuff specific to
            LyX
            use LyX as prefix. Some modules, like mathed or spellchecker,
            could have
            other prefixes.
            [I am not so sure about the LyX prefix]

          - Class names are usually capitalized, and function names
            lowercased.
            Enums are named like Classes, values are usually in lower-case.

          - Long variables are named like thisLongVariableName.

          New types are capitalized, so this goes for typedefs, classes,
          structs  and enums.

Sure this needs a brush-up, but the gist is there.

-- 
        Lgb

Reply via email to