News for hackers. Stuff that matters.
Re:The Danger of “Simplicity” by camgunz on Friday November 22, 2019 @11:01AM (#21606756)
> ...concision

Wrapping up important concepts under good names is clearly a good idea. But on the other end of the spectrum, factoring out a single line from 2 methods and giving it a bad name does far more harm than good. Probably 90% of DRY I come across is this bad kind, I would guess because refactoring for better semantic clarity takes much more effort than just factoring out the common stuff under a different name. I think this downside doesn't get nearly enough airtime as it should.

There are no comments on this comment yet.