Img_0738_large

Kevin Rich

Using Dependency Injection for Implementation Enumeration

...There is probably a better name for this

Scenario

I'm building a system that will look at a lot of transaction data and determine if each transaction qualifies for one of many criteria. At a high level, I'm asking "Does this transaction qualify for any or all of sales criteria A, B, C,...,N?"

This entry will examine a poor approach without dependency injection, . . .

Read More

February 08, 2016

Archive

Cover image credit: http://whoiskevinrich.com