Re:Repeat yourself, do more than one thing, and rewrite ever...
by strict9 on Tuesday March 14, 2023 @02:21PM
(#35156116)
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.
Totally agree with this interpretation and why I wrote a recent article about it: https://bower.sh/anti-pattern