Make common coding rules - oop344 20113

From CDOT Wiki
Revision as of 13:52, 21 October 2013 by Soo-Hyun Ahn (talk | contribs)
Jump to: navigation, search

Location : Study room #1132 in Seneca@York library
Time  : 13:00 ~ 16:00
Attendee : Soohyun Ahn, Nakgui Choi, Hyunsu Lee, Yunki Lee

Agenda and activity

  1. Team page building
    1. update team page
  2. Coding style
    1. no tab key allowed
    2. indent with 4 spaces
    3. open { in the same line
    4. close } in the next line
    5. start else in the next line
    6. 2 lines break for new function
    7. each single object has its own type (except loop counter)
    8. declare variable type only in prototype (not specify variables name)
    9. using namespace cio
    10. variables rules
      1. start with flag p_, l_ (parameter, local)
      2. start with lower character
      3. use capital character for second word
      4. remove vowel in variables except mandatory
      5. no more than 3 words for one variable
      6. # line use upper string for variable