Difference between revisions of "OOP344 - Success - 20102"

From CDOT Wiki
Jump to: navigation, search
(Member List)
m (Rules to follow)
Line 93: Line 93:
 
6. Do not use redundant statements (i.e: if (x != 0) because it same as if(x) )
 
6. Do not use redundant statements (i.e: if (x != 0) because it same as if(x) )
  
7. Very important - we shouldn't use TAB for indention.
+
7.
 
 
Because size of tab is different in different compilers and code could look messy
 
 
 
if to open it different compiler. Lets use space instead.
 
 
 
And each of us should set up Visual Studio to turn off TAB otherwise we can lose marks.
 
 
 
 
 
Note from Matthew: Look into the program you are writing on to see if you can set the number of characters your tab key will indent. For myself, I write all of my code on an application called SubEtheEdit on my mac and I can set my tab to the 2 characters we specified, so I can easily still use tab personally.
 
 
 
Aleh: In VisualStudio we can put settings like [http://www.winasm.net/forum/index.php?showtopic=2274 here] and by pressing TAB spaces would be printed. I will ask Fardad if it is ok.
 
  
 
8. Do not create several variables in one line
 
8. Do not create several variables in one line

Revision as of 01:07, 3 June 2010


OOP344 | Weekly Schedule | Student List | Teams | Project | Student Resources

Team Success

Short link for our team page: bit.ly/s_ss

Success is the Key

Project Development

Project Development Page

IRC meetings

IRC meeting logs

Freenode channel : #OOP344Success

Please set time in this table when you are usually available for IRC meetings (put your ID - B,C,D or E).

- SUN
MON
TUE
WED
THU
FRI
SAT
09:00 BC ABC B - - - ABC
10:00 BC ABC B - - - ABC
11:00 BC ABCD B - - - BCD
12:00 BE BCDE B - - - BCDE
13:00 BE BDE B - - - BDE
14:00 BE BDE BD - - - BDE
15:00 BE BCDE B DE D ABCDE BCDE
16:00 BE BCDE B DE D ABCDE BCDE
17:00 ABE ABCDE B ADE ADE ABCDE ABCDE
18:00 ABE ABCDE ABE ADE ABDE ABDE ABCDE
19:00 ABE ABCDE ABCE ABDE ABDE ABDE ABCDE
20:00 ABE ABCE ABCE ABCE ABCE ABCE ABCE

Member List

Success - Member list
ID Last Name Name Seneca Username Section Blog Url IRC Nick SVN ID My Contributions Role
A Pliats Aleh apliats A http://oleg-oop.blogspot.com/ oleg_pliats apliats Contributions
B Quan Jason jquan4 A http://jasonquan.wordpress.com/ JQuan jquan4 Contributions
C Schranz Matthew mjschranz A OOP344 Blog Posts mjschranz mjschranz Contributions
D Balzamova Irina ibalzamova A http://bikarin.blogspot.com/ iIra ibalzamova Contributions
E Park Hong Geung hgpark A http://goldenration.wordpress.com/ goldenration hgpark Contributions

Email All Memebers

Rules to follow

(this is just an example, lets discuss it)


1. Two spaces for indentation

example:

 int main 
 {
   int i;
   int j;
   if (i == 0) 
   {
     i = 1;
   }
 }

2. Name variables like this: char myVariable; int tempSize (first letter is small);

3. Do not create variables that are never use

4. Only use breaks in switch statements

5. Begin each class with #ifndef (we will learn it later)

6. Do not use redundant statements (i.e: if (x != 0) because it same as if(x) )

7.

8. Do not create several variables in one line

int a,b; //BAD

int a; //GOOD

int b; //GOOD