Changes

Jump to: navigation, search

OOP344 - Success - 20102

782 bytes removed, 00:07, 3 June 2010
m
Rules to follow
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. 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
1
edit

Navigation menu