design patterns Chained callback pattern in Javascript Imagine we have four methods a(next), b(next), c(next), d() where the first three accept a callback. We want to execut these methods in order, so that a completes and calls b, b completes and calls c, and c completes and calls
c# Service Locator is not an anti-pattern Several years ago I began using the Locator as a simplified way to break dependencies. I had read numerous articles on the subject and bore witness to "abuse" of common IoC Containers. This lead me down the path of using the Service