Old vs new case statement in Ruby – Jake Zimmerman
07-Jun-2024 444
A quick, loosely-formed note on why I prefer Ruby’s case/when syntax to the new pattern matching syntax with case/in.The case/when syntax is less brittle to modificationsLet’s say you start with this:.
Old vs new case statement in Ruby – Jake Zimmerman #ruby #rubydeveloper #rubyonrails #statement #Zimmerman https://rubyonrails.ba/link/old-vs-new-case-statement-in-ruby-jake-zimmerman