Item 1: View C++ as a federation of languages
- Rules for effective C++ programming vary, depending on the part of C++ you are using.
Item 2: Prefer consts, enums, and inlines to #defines
- For simple constants, prefer const objects or enums to #defines.
- For function-like macros, prefer inline functions to #defines.