Things dependency injection is not about
Clarifies misconceptions about dependency injection, explaining what it is not: service location, shared dependencies, or auto-wiring.
Clarifies misconceptions about dependency injection, explaining what it is not: service location, shared dependencies, or auto-wiring.
A Laravel developer critiques the service locator pattern, explaining its drawbacks like runtime errors and increased cognitive load in software design.
Explains the Swift singleton design pattern, its criticisms as an anti-pattern due to global state, and proper use cases in iOS development.
Explains why complex regexes are often wrong and unmaintainable, advocating for simpler, more robust validation methods.