Learning Pattern Matching through Poker
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. If you've been waiting for some practical examples of Pattern Matching this is your talk.
Slides and example app: https://twitter.com/keystonelemur/status/1354880827113541634
Older non-refactored version: https://dev.to/baweaver/ruby-3-pattern-matching-applied-poker-4b9d