logoalt Hacker News

joshmoody24 • today at 3:05 AM • 1 reply • view on HN

Personally, I've seen just as many bugs from two implementations drifting.


Replies

SoftTalker • today at 4:10 AM

But conversely, with two implementations you can change one if needed without affecting the other.

I've had this happen a few times, you DRY an abstraction and then discover that the cases you thought were the same are slightly different. Now you have to add parameters or logic and change or at least test everything it touches.

➕ show 2 replies