Code Complete: A Practical Handbook of Software Construction, Second Edition

 < Free Open Study >   

Index

[SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W]

named constants

naming conventions

    "a" prefix convention [See declarations, naming; readability, naming variables for]

     abbreviating names

     abbreviation guidelines

     arrays

     benefits of

     C language 2nd     C++

     capitalization 2nd     case-insensitive languages     characters, hard to read

     checklist 2nd

     class member variables

     class vs. object names     common operations, for

     constants     cross-project benefits     descriptiveness guideline     documentation 2nd

     enumerated types 2nd 3rd

     files

     formality, degrees of

     function return values     global variables 2nd     homonyms     Hungarian

     informal     input parameters     Java 2nd

     key points

     kinds of information in names

     language-independence guidelines

     length, not limiting     Macintosh

     meanings in names, too similar

     misleading names     misspelled words

     mixed-language considerations

     multiple natural languages     numbers, differentiating solely by

     numerals     opposites, use of

     parameters

     phonic abbreviations

     prefix standardization

     procedure descriptions

     proliferation reduction benefit

     pronunciation guideline

     purpose of

     readability

     relationships, emphasis of

     reserved names

     routines 2nd

     semantic prefixes

     short names 2nd     similarity of names, too much

     spacing characters     t_ prefix convention     thesaurus, using

     types vs. variables names

     UDT abbreviations

     Visual Basic     when to use

nested if statements     2nd [See if statements, nested]     converting to if-then-else statements     factoring to routines

     factory method approach, converting to

     functional decomposition of

     object-oriented approach, converting to

     redesigning     simplification by retesting conditions     simplification with break blocks     summary of techniques for reducing

     too many levels ofnested loops     designing 2nd

     ordering for performance

nondeterministic nature of design process 2nd

nonstandard language features

null objects, refactoring null statements

numbers, literal

numeric data types    BCD [See data types, numeric]

     checklist

     comparisons     compiler warnings

     conversions, showing     costs of operations

     declarations, commenting

     floating-point types 2nd 3rd

     hard coded 0s and 1s

     integers

     literal numbers, avoiding

     magic numbers, avoiding

     magnitudes, greatly different, operations with

     mixed-type comparisons

     overflows

     ranges of integers

     zero, dividing by

 < Free Open Study >   

Категории