Delphi sorcery – I just came across this article and was very shocked by the code and so I decided to travel back in time to read the original article by Robert C. Martin and I have to say:I sincerely have to disagree with you, Uncle Bob!Let me explain whyWhile he is trying to separate DI container code from his application logic - which is a good thing but not necessary if you design your architecture without a certain DI container in mind (as Mark Seemann writes in his comment to Martins post) - he does one ugly mistake. He introduces a static factory to his BillingService class.This ...
Visits by Source
Users who voted for this posting
Jørn E. Angeltveit