4 ms·
> DRY, they make the most hard to debug monstrosities full of meta programming all so they could write a thing one one line of code instead of 3. I feel like
by jrochkind1 2y ago
> DRY, they make the most hard to debug monstrosities full of meta programming all so they could write a thing one one line of code instead of 3.
I feel like this is one of the mistakes that many developers make, and it's achieving a kind of wisdom to eventually realize it -- that optimizing for DRY above all else creates a mess.
I've definitely seen this done in many languages, but I've been mostly using ruby so much these days that I can't actually compare. Do any people who do have deep experience on multiple platforms (these people are few and far between) find this problem is worse in ruby than other places? Maybe it's that ruby gives you tools such that when you do optimize for DRY abstraction above all else you create a bigger mess, compared to other platforms?