• V H@lemmy.stad.social
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Not trying to convince you - people have different preferences, but Ruby does exactly what you say and nothing else unless you start pulling in gems that do lots of monkey patching or metaprogramming cleverness.

    This is one of the reasons I dislike Rails in particular - it twists people's idea of what clean Ruby can be like and introduces a lot of "magic" conventions that makes the code hard to read for someone who doesn't know Rails.

    A lot of Ruby programmers do overdose on the "clever", often inspired by Rails. You can do some truly insane things with metaprogramming in Ruby, but a lot of the time the cleverness is unnecessary and a bit of a footgun that people grab too early instead of thinking the problem through and realising there are simpler solutions.