News for hackers. Stuff that matters.
Re:My Thoughts on “Bad Code” by dkarl on Friday March 17, 2023 @10:03AM (#35197209)
I see it more as a tick-tock pendulum swing. A principle is neglected, then comes roaring back because of the glaring need for it. It becomes overused, fetishized, and popularized in warped ways. Then the "accepted design principle considered harmful" articles appear, and the pendulum starts to swing back the other way.

What we have to keep in mind is that the needs of whatever codebase we're working on might be out of sync with fashion. For example, I've been relishing the recent push-back against DRY, because I think it's over-applied in damaging ways, but the main codebase I've been working on for the last year needs more application of DRY, not less.

There are no comments on this comment yet.