Use anonymous namespace containing symbolic names or calculated values for magic numbers rather than using literals or #defines.