ruby javascript inspirational browser software architecture programming languages iot performance

Blending Functional and OO Programming in Ruby

Piotr Solnica · Full Stack Fest 2015

Functional programming is being revitalized thanks to languages like Clojure, Haskell and Elixir. Even though Ruby is an object-oriented language there are many beautiful concepts in functional programming that we can borrow and successfully apply in our Ruby code. In this talk I’ll show you how I mix FP with OO. I’ll introduce you to functional objects, explain the beauty of Proc-like behavior, the power of `call` method and explain why immutability matters.