News for hackers. Stuff that matters.
Re:Don't DRY Your Code Prematurely by p1necone on Friday May 31, 2024 @12:09AM (#40531404)
> Cohesion over extensibility.

Imo the very best approach is a codebase that's small enough that you can just do chunky refactors every so often rather than building in extensibility as a "thing". Not applicable to all problem spaces (I'd hate to do this for UI code), but for a lot of stuff it works.

For me this often looks like an external DSL/API that stays relatively constant (but improving), with guts that are always changing.

There are no comments on this comment yet.