News for hackers. Stuff that matters.
Re:Goodbye, Clean Code by bigtunacan on Friday December 08, 2023 @04:09AM (#38566902)
The long answer is a bit complicated, but the short answer is you should duplicate code.

It is far less work to dedupe WET and abstract later once you truly understand the correct abstraction than it is to try to untangle the wrong abstraction later.

Or as Sandi Metz would say, "Duplication is far cheaper than the wrong abstraction."

There are no comments on this comment yet.