The Pragmatic Bookshelf | Tell, Don't Ask

Updated . Posted . Visible to the public.

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.

Last edit
Keywords
development, software-design, api-design
License
Source code in this card is licensed under the MIT License.
Posted by Lexy to makandra dev (2009-08-11 20:08)