Talk in English - US at rubyday 2021
Short URL: https://joind.in/talk/24c84
(QR-Code (opens in new window))
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.