Please stick with lowercase, and uppr case for constants. This would give problems with include filenames in linux.
Seb, it would be nice if jallib.py could check case on vars/constants as you suggested. Can we have a command line option to check case for now, then after a month or so we can make it default? Matt. On Mar 13, 9:25 am, Sebastien Lelong <[email protected]> wrote: > Guys, this has been defined almost 2 years ago, I don't think it's a > good to change standard now... > > cheers > seb > -- > Sébastien Lelong > > Le 13 mars 2010 à 16:41, "m...@watty" <[email protected]> a écrit : > > > > > > > On Mar 13, 12:24 pm, Sunish Issac <[email protected]> wrote: > >> I always wanted camel case. Can there be a poll or campaign ? > > >> Sunish > > > I like camelCase. > > > /me waves a flag to campaign. Vote early and often. > > > CONST ALL_IN_CAPS_WITH_UNDERLINES > > > variables, prodcedures and functions CamelCase or With_UnderLines > > local variables startLowerCase > > Global variable StartUpperCase > > > procedures and functions StartWithCapital > > > Ideally > > variables and CONSTANTS are adjectives or Nouns > > Procedures & Functions are Verbs > > > Indents are 4. i.e. 1/2 a Tab. Where did the "3" indent come from? > > > system library stuff _prefix with an _underline > > > Enum constants in UPPER_CASE, prefixed by Upper Case of the main > > associated Variable > > > CONST MYSTATE_OFF= 0 > > CONST MYSTATE_RED= 1 > > CONST MYSTATE_GREEN= 2 > > CONST MYSTATE_BLUE= 4 > > > var byte MyState = MYSTATE_OFF -- a global var > > > Other libraries prefix by FILENAME_MyFunction FILENAME_MyVar, > > FILENAME_MY_CONST, but only if the library functions need to be > > differentiated or specifically identified. > > > -- > > You received this message because you are subscribed to the Google > > Groups "jallib" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected] > > . > > For more options, visit this group > > athttp://groups.google.com/group/jallib?hl=en > > .- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
