# Episode 99: Big Tubes

> Episode of [Elixir Outlaws](https://podistic.com/podcast/elixir-outlaws.md) · Published August 9, 2021 · Duration 41:46

- **Listen on Podistic:** https://podistic.com/episode/episode-99-big-tubes
- **Audio:** https://aphid.fireside.fm/d/1437767933/4b3f9fe7-b118-4f29-b6ee-7baf2571b03c/f9b3c321-d718-4fe1-b4fd-c8733c175c9d.mp3 (audio/mpeg)

## About this episode

The main topic this week is behaviours and protocols and when to use both. Chris, inspired by the wisdom of Quinn Wilton, thinks that its probably incorrect to use Behaviours to define public interfaces for APIs. Protocols seem to fit the bill better. Both hosts agree that the best kind of dependency injection is just called, "passing arguments to functions".

A transcript is available for this episode on Binary Noggin's website: [https://binarynoggin.com/blog/episode-99-big-tubes/](https://binarynoggin.com/blog/episode-99-big-tubes/)

[Support Elixir Outlaws](https://www.patreon.com/user?u=5332239)

Links:

*   [Quinn Wilton on Behaviours ](https://twitter.com/wilton_quinn/status/1408191086741266433?s=20 "Quinn Wilton on Behaviours")
