Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
Object Oriented Thinking with Elixir and OTP by Ryan Findley Processes in Erlang / Elixir resemble objects in many ways. Some even argue that Erlang processes and the Actor Model are a purer form of object-orientation. The Elixir community has a large contingent of Rubyists that have extended many of the core values (and joys) of Ruby into the world of Elixir. This talk exposes some of the reasons why while providing a starting point for further learning
Date
Summarized using AI?
If this talk's summary was generated by AI, please check this box. A "Summarized using AI" badge will be displayed in the summary tab to indicate that the summary was generated using AI.
Show "Summarized using AI" badge on summary page
Summary
Markdown supported
In the video 'Object Oriented Thinking with Elixir and OTP,' Ryan Findley presents an insightful exploration of the Elixir programming language, particularly in relation to its object-oriented principles mirrored from Ruby. Findley emphasizes the enduring nature of the projects he works on, which informs his selective approach to adopting new tools. He highlights Elixir's foundation in Erlang, particularly the Open Telecom Platform (OTP), which offers robust libraries and middleware essential for effective development. Key points discussed include: - **Elixir's Relation to Erlang**: Findley compares Elixir to Erlang, noting how Elixir's syntax compiles to the Erlang Virtual Machine, allowing for leveraging Erlang code. - **Object-Oriented Thinking**: He draws parallels between object-oriented programming in Ruby and process-oriented programming in Erlang, explaining that both systems utilize message passing to facilitate communication between components. - **Functional Programming Mindset**: Adjusting to functional programming principles is vital for Rubyists transitioning to Elixir, with significant influence from community practices. - **Key Resources**: Findley recommends 'Little Elixir and OTP Guidebook' and various other learning resources to aid in understanding and transitioning to Elixir. - **Differences in Design Patterns**: The speaker introduces a Ruby example of a chat application, followed by its Elixir counterpart, demonstrating the shift towards message-based state management in Elixir. - **Processes and State Management**: He discusses the implications of using processes in Erlang, emphasizing how processes, like objects, encapsulate state and behavior while using message passing for processing. - **GenServer**: The presentation culminates in introducing OTP's GenServer behavior, which organizes processes and state, enhancing the reliability of applications while allowing both synchronous and asynchronous calls. In conclusion, the significance of OTP and Elixir lies in their ability to maintain state and support the development of resilient applications. By aligning object-oriented concepts with Elixir's functional programming principles, developers are provided a solid framework for further exploration in the Elixir ecosystem.
Suggest modifications
Cancel