3min chapter

Elixir Mix cover image

Building APIs - EMX 181

Elixir Mix

CHAPTER

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.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode