Phoenix Live View debounce IntelliJ Elixir 10.5.1

Using protocols in your own code

Protocols can be a useful tool when building Elixir libraries and provide a way for users to extend your library for their own uses. I haven’t had much occasion to work with protocols, but recently had occasion to use them in a side project. I found that they are also a useful tool for encapsulating logic and wrote up my experience in a blog post.

Shameless plug: Check out @elixirstatus' other community project:

Credo, a new static code analysis tool that acts as a code linter, but also focusses on teaching coding practices and code consistency.