# Is defdelegate necessary?

**URL:** <https://forum.elixirforum.com/t/is-defdelegate-necessary/20313>\
**Category:** Questions\
**Tags:** architecture, defdelegate\
**Created:** [February 20, 2019, 6:53pm UTC](https://forum.elixirforum.com/t/is-defdelegate-necessary/20313 "2019-02-20T18:53:15Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![devality](https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/d/bc79bd/32.png) [@devality](https://forum.elixirforum.com/u/devality)\
**Post date:** [June 14, 2020, 8:23am UTC](https://forum.elixirforum.com/t/is-defdelegate-necessary/20313/6 "2020-06-14T08:23:47Z")

</div>

Could you please clarify the moment with compile-time dependency? I’ve just checked and it looks like the code

```elixir
def reverse(list), do: Enum.reverse(list)

```

creates such dependency as well. How I checked this is I just changed the `Enum` module to unexisting and the compiler showed the warning about missing module.

---

_[View the full topic](https://forum.elixirforum.com/t/is-defdelegate-necessary/20313)._
