The Law of Demeter
An object should only talk to its immediate neighbours and not to strangers: no chains of calls running across half the program.
It's also known as the principle of least knowledge. In practice: if you want to pay the newsagent, you give him the money. You don't hand him your wallet so he can rummage through it, find the card, ring the bank and ask your mother for the balance.
In code, a line like customer.order.address.city.county.name is a chain of gossip: every link knows too much about the others, and if one changes they all collapse. Reducing what each piece knows makes them replaceable.
I applied the law at the office. I no longer ask a colleague to ask the technician to ask the supplier. I just ask the colleague. He doesn't know anything, but the system is much more decoupled. Now nothing works, but elegantly.