Difference between revisions of "Make common coding rules - oop344 20113"
Soo-Hyun Ahn (talk | contribs) |
Soo-Hyun Ahn (talk | contribs) |
||
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 | + | Attendee : Soohyun Ahn, Nakgui Choi, Hyunsu Lee, Yunki Lee <BR> |
− | Agenda and activity | + | Agenda and activity <BR> |
− | + | # Team page building <BR> | |
− | + | ##: update team page <BR> | |
− | 2 | + | # 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 |
Revision as of 13:52, 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
- Team page building
- update team page
- update team page
- Coding style
- no tab key allowed
- indent with 4 spaces
- open { in the same line
- close } in the next line
- start else in the next line
- 2 lines break for new function
- each single object has its own type (except loop counter)
- declare variable type only in prototype (not specify variables name)
- using namespace cio
- variables rules
- 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
- no tab key allowed