Re:Implementing a simple object system from scratch in Ruby
by metacircu1ar on Sunday December 15, 2024 @09:22AM
(#42423527)
I write some ruby code for my job to automate some API testing stuff, where I use hash rockets exclusively.
[ Parent
| on HN ]
Re:Implementing a simple object system from scratch in Ruby
by caseyohara on Sunday December 15, 2024 @10:01AM
(#42423761)
You should know that using the hash rocket syntax has not been idiomatic Ruby since the new hash syntax was introduced in 2012. Unless your keys are not symbols, there’s no reason to use hash rockets.