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 at http://groups.google.com/group/jallib?hl=en.
