Re:I found and fixed a bug in PHP's standard library
by ljm on Monday March 02, 2020 @07:57AM
(#22463957)
I’ve seen plenty of DRY bugs due to premature abstraction and an unwillingness to refactor later on.
In many cases, the opportunity for DRY was misleading as the code was only superficially similar, so the implementation became over-complicated to handle various corner cases that otherwise wouldn’t have existed.
In many cases, the opportunity for DRY was misleading as the code was only superficially similar, so the implementation became over-complicated to handle various corner cases that otherwise wouldn’t have existed.