Open main menu

CDOT Wiki β

Changes

Team !YOU - OOP344

227 bytes added, 12:20, 26 January 2010
m
(Discussion: Variable names)
| MattAdams || I also agree w/ Felipe. Using Camle notation is a nice and easy way to name variables. However, I would have said numOfPeople, instead of 'numberOfPeople'. As for #define goes. Use UPPER case, and separate words by the underscore(_). ie. #define ISBN_LENGTH, #define AREA_MAX, #define MAX, #define LENGTH
 
|-
| Mddaniels || Defines should always be caps, and camel notation is very good, just as long as the variable names make sense I'll be happy. I got sick and tired of last semester's group giving variable names like "ptr".
|-
|}
1
edit