Tell, Don’t Ask
April 24th, 2008 by proj
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.
No related posts.






