[Advices] C++ Types and declarations

  • Keep common and local names short, and keep uncommon and nonlocal names longer
  • Maintain a consistent naming style
  • Prefer a plain int over a short int or a long int
  • Prefer a double over a float or long double
  • Prefer a plain char over a signed char or a unsigned char
  • Avoid making unnecessary assumptions about the size of objects

(via The C++ Programming Language, Third Edition by Bjarne Stroustrup, page 85)