4 ms·
> When I think of the most difficult to understand code I've come across it was probably written by someone who lives and breathes that interpretation of DRY.
by qudat 4y ago
> When I think of the most difficult to understand code I've come across it was probably written by someone who lives and breathes that interpretation of DRY.
Totally agree with this interpretation and why I wrote a recent article about it: https://bower.sh/anti-pattern https://bower.sh/anti-pattern
- strict9 4y agoGreat article, particularly agree with the tests part. Sanity check tests (function doesn't throw an exception in common path) are essential but following all possible paths and verifying all outputs is the road to diminishing returns and subpar output.