Pattern matching in Ruby
- Union St, 18-20 Union Street, S1 2JP
- 6.30 to 8.00pm
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.
About our venue
Our meetup will take place at our usual venue, Union St.
After the meetup, we’ll be heading to The Devonshire Cat for drinks and a chat.