O'Reilly logo

Practices of an Agile Developer by Andy Hunt, Venkat Subramaniam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

pointer-image   31   Tell, Don’t Ask

 

“Don’t trust other objects. After all, they were written by other people, or even by you last month when you weren’t as smart. Get the information you need from others, and then do your own calculations and make your own decisions. Don’t give up control to others!”

images/devil.png

“Procedural code gets information and then makes decisions. Object-oriented code tells objects to do things.” Alec Sharp Smalltalk by Example: The Developer’s Guide [Sha97] hit the nail on the head with that observation. But it’s not limited to the object-oriented ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required