The Psychology of Quality and More

| Menu | Books | Share | Search | Settings |

C Style: Standards and Guidelines (contents)

CHAPTER 9 : Data Usage


CHAPTER 9 : Data Usage
9.1 Declarations
9.2 Using floating point numbers
9.3 Using 'typedef'
9.4 Using global data
9.5 Using Structures
9.6 Using Unions
9.7 Using Arrays
9.8 Using Pointers
9.9 Using bit structures
9.10 Using Constants
9.11 Using 'static' declarations
9.12 Initializing variables
9.13 Summary

<--Prev page | Next page -->

<-- Prev Chapter | Next Chapter -->


It is not uncommon for programmers to think more in terms of the code processes than the data that it uses, which is not unnatural as they generally spend more time working on the executable code than the data structures. The static nature of data does not, however, mean that it is less important than the code. Indeed, some programs make significant use of data to the point where it may be said that the data is driving the code, rather than the code is using the data.

The way data is described and used in a program, even when it is a minor item, is still a major element of style. Unclear data usage can result in code which is very difficult to understand and is consequently liable to error.

In keeping with the focus of this book, this chapter focuses on the usage of the basic data elements of the language, rather than straying into the higher levels of describing various methods of data-based programming.


<--Prev page | Next page -->


Site Menu

| Home | Top | Settings |

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

More Kindle books:

And the big
paperback book

Look inside


Please help and share:


| Home | Top | Menu |

© Changing Works 2002-
Massive Content -- Maximum Speed