Click here to Skip to main content
15,885,278 members

Comments by chuckdawit (Top 4 by date)

chuckdawit 28-Nov-12 20:21pm View    
Should I replace the 'SomeObjectIveCreated2' with an interface to adhere to rules of encapsulation?
This is helpful for unit testing but is more for the rules regarding the S.O.L.I.D principles.
chuckdawit 28-Nov-12 18:22pm View    
Deleted
no. nobody has responded with an answer. Don't delete please!
chuckdawit 21-Nov-12 20:58pm View    
look on page 62, the example starts on page 62. The object 'Order' is being passed into the method as a concrete implementation, even after he refactors out the dependencies he still uses 'Order' as a concrete implementation. He doesn't create and pass in a IOrder interface like you would expect to see.
chuckdawit 21-Nov-12 20:39pm View    
just look at the section on DIP. its the first example in that section.