Skip to content
colinsullivan edited this page Apr 11, 2011 · 1 revision

Here are some standards to follow when writing code for Concert:

  • All code

    • Indents: 4 spaces (not a tab character)
    • Columns: 85
  • All code:

    • Variables/Instance Variables: camelCaseStartingWithLower
    • Class Names: CapWords
    • Functions: lower_with_underscores()
      • opening_bracket_same_line(with, space) {
    • Constants: CAPTIAL_WITH_UNDERSCORE
  • HTML

    • Break up tags that span more than one line, or that have another tag within.

    Hi there

    RPI