Hacker News new | ask | show | jobs
by juliend2 2094 days ago
Happy to see developments on the pattern matching feature[0].

[0] https://bugs.ruby-lang.org/issues/16828

1 comments

How do you intend to use this feature? I struggling to see the value.
Seems like you could use it to turn hashes and arrays into poor man’s sum/product types.