In the last post we have discussed core principles of unit testing and TDD. In this post, we’ll walk through a simple example of how to use Moq as mocking framework and Dependency Injection with NU...
If you’re building Angular applications and still scratching your head when someone mentions “Dependency Injection,” you’re not alone. It’s one of those core concepts that sounds more compli...
Why do we use dependency injection?When you’re developing a smaller component of your system, such as a module or a class, you often require functionality from other classes. For instance, you might...
The debate over classes vs functions is one of the internet's favorite distractions. But in practice, the real question isn’t “OOP vs FP” — it’s “How do we define and construct clear bound...
Dependency Injection has a reputation problem. Between bloated frameworks and decorator-heavy configs, it often feels like “too much magic.”But at its core, DI is simple: It’s simply the act of ...
TL;DR: TypeWire is a small DI library for TypeScript — no decorators, no magic, just typed wires and explicit registration. Designed for clarity and composability as your system scales.
In recent p...