Re:Pattern Matching in Ruby 2.7 (2019)
by verttii on Thursday January 09, 2020 @07:07AM
(#22000503)
You mean that guards + destructuring would effectively be the same as pattern matching in function's params? Pattern matching would allow matching against more complex data structures more comfortably though.
[ Parent
| on HN ]
There are no comments on this comment yet.