Difference between revisions of "Make common coding rules - oop344 20113"

From CDOT Wiki
Jump to: navigation, search
(Created page with 'Location : Study room #1132 in Seneca@York library <BR> Time : 13:00 ~ 16:00')
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Location : Study room #1132 in Seneca@York library <BR>
 
Location : Study room #1132 in Seneca@York library <BR>
Time    : 13:00 ~ 16:00
+
Time    : 13:00 ~ 16:00 <BR>
 +
Attendee : Soohyun Ahn, Nakgui Choi, Hyunsu Lee, Yunki Lee <BR>
 +
 
 +
Agenda and activity <BR>
 +
# Team page building <BR>
 +
## update team page <BR>
 +
# Coding style <BR>
 +
## no tab key allowed <BR>
 +
## indent with 4 spaces <BR>
 +
## open { in the same line <BR>
 +
## close } in the next line <BR>
 +
## start else in the next line <BR>
 +
## 2 lines break for new function <BR>
 +
## each single object has its own type (except loop counter) <BR>
 +
## declare variable type only in prototype (not specify variables name)<BR>
 +
## using namespace cio<BR>
 +
## variables rules<BR>
 +
### start with flag p_, l_ (parameter, local)
 +
### start with lower character
 +
### use capital character for second word
 +
### remove vowel in variables except mandatory
 +
### no more than 3 words for one variable
 +
### # line use upper string for variable

Latest revision as of 15:38, 21 October 2013

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