Wet, loud, yet way too polite
Tuesday, November 28th, 2006Matt, Kyle, and I having lunch together yesterday and Matt brought up the concept of Tell, Don’t Ask. Matt was saying that you shouldn’t have to examine an object to figure out what method to run, instead give your data to that object and let it figure it out. Later we were continuing our conversation and Blaine piped in on on the Pragmatic Programmer’s article OOP in One Sentence (PDF). I read it and I couldn’t remember ever seeing it before.
All of this bounced around in my head during the night and, on the way to work, I decided to stop being frustrated on the code I inherited [...]
