Hacker News new | ask | show | jobs
by qudat 1197 days 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

1 comments

Great 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.