Re:Gem adds support for creating state machines for attribut...
by qudat on Sunday January 21, 2024 @08:23PM
(#39084960)
I find it way easier to read this modified version — and I use ruby at work. It’s not even close.
[ Parent
| on HN ]
Re:Gem adds support for creating state machines for attribut...
by saghm on Sunday January 21, 2024 @10:53PM
(#39085997)
I think the choice to "name" all arguments (`from:`, `to:`, which if I recall from my bygone Ruby days is implicitly parsed as a single hash argument) goes a long way to make things more consistent compared to having the first argument passed separately, making the colons a lot harder to parse visually due to the inconsistency.