Dependency rejection

added by DotNetKicks
2/2/2017 2:00:52 PM

1 Kicks, 246 Views

Such a refactoring is often problematic in mainstream object-oriented languages like C# and Java, because you wish to control the circumstances in which the indirect output must be produced. Indirect output often implies side-effects, but perhaps the side-effect must only happen when certain conditions are fulfilled.