4
votes
Vote UpVote

Sorry Uncle Bob - but NO!

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 ...
Favorite? Off-Topic? noreply@blogger.com @ 2014-03-23 22:10

Statistics

Visits: 2125
Votes: 4
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Jeroen Pluimers
Jørn E. Angeltveit
Primoz Gabrijelcic
Ravaut123
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)