Ruby 2.7 introduced Pattern Matching, but what can you use it for? How about we play a few hands of poker to find out. This talk explores Pattern Matching patterns through scoring poker hands using named captures, pins, hash destructuring, array destructuring, and more. If you've been waiting for some practical examples of Pattern Matching this is your talk.

Comments

Comments are closed.