Skip to content
This event was canceled

Pattern matching in Ruby

Photo of Eva Barabas
Hosted By
Eva B. and James G.
Pattern matching in Ruby

Details

About our talk

Pattern matching syntax was added to Ruby, in experimental form, in version 2.7. This talk will look at what it is, how we can use it, and where it fits in with existing Ruby control flow.

The syntax offers some useful ways to express control flow in places where we might have previously nested if statements or had to destructure data from complex objects.

We will also look at how pattern matching has developed in other languages, and find some good examples of using it in real production code.

About our speaker

Daniel King is a software engineer at Memberful.

Photo of Sheffield Ruby group
Sheffield Ruby
See more events

Canceled

Union St. Co-working space
18-20 Union Street, Sheffield, S1 2JP · Sheffield