# A better Module interaction pattern?

**URL:** <https://forum.elixirforum.com/t/a-better-module-interaction-pattern/66701>\
**Category:** Questions\
**Tags:** behaviours, learning-elixir\
**Created:** [October 13, 2024, 10:12am UTC](https://forum.elixirforum.com/t/a-better-module-interaction-pattern/66701 "2024-10-13T10:12:14Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Eiji](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/eiji/32/36743_2.png) [@Eiji](https://forum.elixirforum.com/u/Eiji)\
**Post date:** [October 13, 2024, 1:48pm UTC](https://forum.elixirforum.com/t/a-better-module-interaction-pattern/66701/8 "2024-10-13T13:48:09Z")

</div>

Behaviours are well documented, so it would be easiest to check it out. For example here is a quote I was referring to:

> If a module adopting a given behaviour doesn’t implement one of the callbacks required by that behaviour, a compile-time warning will be generated.
> 
> Source: [Behaviours | Typespec reference @ Elixir’s documentation](https://hexdocs.pm/elixir/typespecs.html#behaviours)

---

_[View the full topic](https://forum.elixirforum.com/t/a-better-module-interaction-pattern/66701)._
