Changes between Version 8 and Version 9 of ResumedC
- Timestamp:
- Apr 29, 2009, 2:39:38 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ResumedC
v8 v9 110 110 === Constants === 111 111 112 The '''constant''' variables are constants, so they can't change, by convention they are in upper-case 112 The '''constant''' variables are constants, so they can't change, by convention they are in upper-case. You should use it where ever possible, it improves the robustness of the program, better readability, and also improves (just a bit) the optimization, it is a kind of ''rule'' and correct programming. When you are sure that a variable doesn't (or don't want to) change in a scope of the program, you can use it. 113 113 114 114 {{{