AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Is Knego Dependency Injection a Good Idea?
Knego is an elixir version of dependency injection. It abstracts the way a part of your application behind the behavior and then inject implementation based on configuration. You could arguably also say I'm going to inject the module as an argument into the function, which is valid. Another good thing these days are services like Stripe who have a very good mock server.