This talk covers one of the most powerful Elixir operators, the pipe. With this operator, you can express functional programs as a clear series of functions. But there's a catch. You can only compose functions that have a certain signature, and you can only compose with a set strategy. Wouldn't it be nice if you could use Elixir's macros to build more powerful pipes that let you express a wider range of ideas?
Talk objectives:
- When you're done, you'll know how to use the same pure and simple pipe syntax to express a wider range of ideas. The result will be cleaner, more powerful code. - You'll be given three new tools to deal with functional composition with pipes - You will be able to satisfy a broader range of API styles, such as the common {:ok, request} style return values. - You'll understand how to use Elixir metaprogramming to work with pipes
Target audience:
This talk will appeal to all levels of Elixir programmers, especially those who have taken Elixir for a spin.
Slides
Bruce Tate is a kayaker, author, father of two from Austin, Texas. The CTO for icanmakeitbetter.com is using Elixir to deliver fast, scalable applications. GitHub:
batate
Twitter:
@redrapids