ruby javascript inspirational browser programming languages css performance iot

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.