Playing a Hand with Ruby Pattern Matching - Brandon Weaver - rubyday 2021

preview_player
Показать описание
Playing a Hand with Ruby Pattern Matching - Brandon Weaver - rubyday 2021

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.

The ninth edition of the Italian Ruby conference, for the third time organised by GrUSP, took place online on April 7th 2021.

Рекомендации по теме