I’m sure you can get used to it like anything else but Ruby’s new pattern matching syntax feels backward to me. Rather than in
, I would have preferred another keyword like with
or match
(or if
if they didn’t want to add a new one).
I’m sure you can get used to it like anything else but Ruby’s new pattern matching syntax feels backward to me. Rather than in
, I would have preferred another keyword like with
or match
(or if
if they didn’t want to add a new one).