Submitted by Anonymous on Thu, 01/07/2010 - 02:56.
That's not an example of Tell Don't Ask. It is Encapsulation but you are still asking what the order Id is.
Reply
daily quotes
Programming is not a zero-sum game. Teaching something to a fellow programmer doesn't take it away from you. I'm happy to share what I can, because I'm in it for the love of programming.
Tell Don't Ask
That's not an example of Tell Don't Ask. It is Encapsulation but you are still asking what the order Id is.