Effective C++ by Scott Meyers (Short Summary)
Search...
Ctrl + K
Chapter 4 - Designs and Declarations
Item 22 - Declare data members private.
Previous
Item 21 - Don't try to return a reference when you must return an object.
Next
Item 23 - Prefer non-member non-friend functions to member functions.