Re:Rails is not written in Ruby
by sparker72678 on Friday February 04, 2022 @05:27PM
(#30214260)
Personally, I just find `some_array.has_my_thing?(thing)` to be more readable, and I spend way more time reading code than writing it.
[ Parent
| on HN ]
I think this might be hosting complexity which reminds me a little of Rich Hickey's Simple Made Easy talk. The Rails way seems more readable because it's hiding complexity. The other approach reveals the complexity, but actually has less complexity than the Rails style solution. This might only become apparent when something goes wrong.