Yep. It’s not annoying in libraries or frameworks, but when you see engineers meta programming business logic it makes me sad.
Re:Crystal in Production: Diploid
by VeejayRampay on Saturday October 28, 2017 @05:47PM
(#15576860)
Why does it? If the metaprogramming is readable and sound, I don't see where the problem is. Most of the time, good meta-programming can turn 30 lines into 5, which is not systematically better for the reader, but can help avoid some of the most mundane repetition.
It's true that it shouldn't be abused and it most often is, but it does have its place.
So can composition.
It makes me sad for the reason you said, it’s most often abused.
And if it that were the worst part of meta programming, that might be ok, but it's not because the existence of meta programming puts ceiling on just how fast the Ruby runtime can be.