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.
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.
This entry was posted on Wednesday, March 23rd, 2005 at 8:53 pm and is filed under Programming. You can follow any comments to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.