Wrapping Up
In this chapter, we noted that object-oriented developers learning Elixir tend to use object-oriented concepts because that’s what they know, and we examined the most popular ones. Adopting Elixir means more than learning its idioms and syntax. To get the most out of it, you’ll need to understand its basic abstractions.
We started by examining how to think about mutable state. When you’ve made the transition, you’ll see how the concepts of behavior, state, and time go from something implicit and tightly coupled to much more explicit concepts. Just using stronger, higher-order abstractions such as processes and concurrency raise mutable state to a more serious level, where it belongs.
Next, we talked about polymorphism. Where most ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access