Re:An Introduction to Metaprogramming in Ruby
by RussianCow on Friday July 28, 2023 @01:55AM
(#36903472)
Which is great in theory, until you realize that there are 200 pages of convention, and there is just enough room for interpretation that different companies have slightly different takes on it.
[ Parent
| on HN ]
Re:An Introduction to Metaprogramming in Ruby
by gls2ro on Friday July 28, 2023 @04:03AM
(#36904172)
I think here, different people have different preferences.
I prefer convention over configuration because once learned it just works. For me in Rails when I look at an URL, I kinda know what is the file that handles that (the controller). And that is what I appreciate.
Of course, different needs require different solutions. I also worked with Sinatra which does not have this. But I choose it exactly because it is light and it allows me to group my logic in a different way.