Re:Show HN: Ruby One-Liners Cookbook
by brigandish on Thursday October 01, 2020 @05:41AM
(#24649108)
Are you saying it's a primary feature for Rails or for Ruby? I can't think of an example where it's a primary feature for a user of Rails but I usually avoid it in favour of better tools so I might not know of them. Perhaps you know of some?
[ Parent
| on HN ]
Re:Show HN: Ruby One-Liners Cookbook
by sourdoughness on Saturday October 03, 2020 @08:38AM
(#24671611)
Rails leans on meta programming for a lot of its magic (though less so than it used to in early versions). You don’t generally use it as a user of Rails, though.
Re:Show HN: Ruby One-Liners Cookbook
by brigandish on Sunday October 04, 2020 @09:31PM
(#24683769)
Then I don't see how they're any better than macros in that situation.