News

Information hiding rule 2: Don’t expose the difference between stored data and derived data For example, a client object only needs to know that an object has an attribute of speed .