News for hackers. Stuff that matters.
Re:Laws of Software Engineering by xnorswap on Tuesday April 21, 2026 @08:47AM (#47848024)
I like this a lot more, because it captures whether two things are necessarily the same or just happen to be currently the same.

A common "failure" of DRY is coupling together two things that only happened to bear similarity while they were both new, and then being unable to pick them apart properly later.

Re:Laws of Software Engineering by CodesInChaos on Tuesday April 21, 2026 @09:42AM (#47848703)
> then being unable to pick them apart properly later.

Which is often caused by the "midlayer mistake" https://lwn.net/Articles/336262/