 Coding patterns may be missing programming language features.Two common implementations of DIP use similar logical architecture but with different implications.A direct implementation packages the policy classes with service abstracts classes in one library.