Tell, Don’t Ask

You should endeavor to tell objects what you want them to do; do not ask them questions about their state, make a decision, and then tell them what to do.

Source: Tell, Don’t Ask.

Comments are closed.