Back to Browse

Elixir Protocols: a gentle introduction

3.5K views
May 8, 2018
23:22

Follow me on Twitter to get more tips and tutorials! https://twitter.com/AlchemistCamp Protocols are one of the more important but less publicized features of Elixir. That's why this lesson focuses on them directly rather than being part of a larger project. Topics covered include: defining protocols with defprotocol, @fallback_to_any, defdelegate and working with custom structs. We also go into how protocols can give Elixir, a functional language, some of the capabilities that are generally less convenient to implement in non-OO languages.

Download

1 formats

Video Formats

360pmp431.8 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Elixir Protocols: a gentle introduction | NatokHD