Strange Loop

Sept 30 - Oct 2, 2021

/

Union Station

/

St. Louis, MO

Better Ruby Through Functional Programming

Functional Programming (FP) has become interesting lately as the most robust way to write highly-concurrent applications. Applying functional ideas can benefit your applications in other ways, too. We’ll learn the key ideas in functional programming and how you can improve your Ruby code by leveraging these ideas, using the functional-like features that Ruby already supports.

The functional programming features we’ll explore include value immutability, first-class functions, function composition, and pattern matching. We’ll learn functional idioms that make our code more declarative, reduce the occurrence of nils, and use arrays and hashes more effectively.

We’ll finish with an example application that implements concurrency using the Actor message passing model.

Dean Wampler

Dean Wampler

Dean Wampler is a Consultant at Object Mentor, Inc. and the co-author of the forthcoming book, “Programming Scala” (O’Reilly - see http://programmingscala.com). Dean also contributes to Ruby open source projects and has many years of Enterprise Java experience. He believes the best designs are “poly-paradigm”, combining Object-Oriented (OOP), Functional (FP), and Aspect-Oriented (AOP) programming, and “polyglot”, combining the best languages for the job. Dean speaks frequently at conferences on these topics.