News for hackers. Stuff that matters.
Re:Elixir Is Erlang, not Ruby by emerongi on Monday September 07, 2020 @03:18AM (#24397305)
Elixir does not try to do away with them. They are covered in the official guide: https://elixir-lang.org/getting-started/typespecs-and-behavi...

As soon as I add @behaviour to a module, I get IDE autocomplete and compiler warnings if a function has not been implemented.

I do agree that I have not seen a lot of behaviour use in the wild, even in cases where it's clear that they would be beneficial. Elixir developers seem to have some blindspots.

Re:Elixir Is Erlang, not Ruby by searchableguy on Monday September 07, 2020 @08:22AM (#24398920)
> As soon as I add @behaviour to a module, I get IDE autocomplete and compiler warnings if a function has not been implemented.

It is exactly what I was looking for. Thanks for mentioning it.