I’ve been doing more pattern matching in my Ruby code of late and boy is it neat...
Tekin Süleyman 🍉 ☕️ @tekin@ruby.social
I’ve been doing more pattern matching in my Ruby code of late and boy is it neat when it fits to a problem. So good for working with deep nested hash structures from API responses for example.
Check out https://brightonruby.com/2022/stop-ignoring-pattern-matching-tom-stuart/ by @tom if you want to learn more.
Also h/t @rgarner for helping it click for me.