Subscribe

Tell, Don’t Ask

The post over at pragmatic programmer is timely for me because Tell, Don’t Ask is a concept that I have outlined in a programming style presentation for my new team.

The quote at the beginning of the article is perfect:

     Procedural code gets information then makes decisions. Object-oriented code tells objects to do things.
     — Alec Sharp 

This is a great example of taking a complex concept and boiling it down to one phrase. That is something that I try to do as much as possible. It forms a great foundation for effective communication.

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Technorati
  • Reddit
  • Digg
  • del.icio.us
  • StumbleUpon
  • DZone
  • ThisNext

No related posts.

Trackback URI | Comments RSS

Leave a Reply