The Psychology of Quality and More |
CHAPTER 9 : Data Usage
9.11 Using 'static' declarationsData items and functions which are only referenced within a single file may be declared static, to limit their scope to this file only. This can be annoying when debugging, as a static name may not appear in the external symbol map, and the item can consequently not be found. A solution is:
/* common.h */ ----------------------------------------------------------------------- This does go against the principle of not redefining the language, but it can provide a standard solution to the static vs. debuggable problem.
|
Site Menu |
Quality: | Quality Toolbook | Tools of the Trade | Improvement Encyclopedia | Quality Articles | Being Creative | Being Persuasive | |
And: | C Style (Book) | Stories | Articles | Bookstore | My Photos | About | Contact | |
Settings: | Computer layout | Mobile layout | Small font | Medium font | Large font | Translate | |
You can buy books here |
And the big |