Re:Uncle Bob and Silver Bullets (2017)
by ajuc on Monday July 04, 2022 @05:06PM
(#31981787)
Unit testing pure functions is a pleasure, no matter if they have local variables.
When you split them in a way that makes the local state external - you now have to handle the state in unit tests which is much more hassle.
[ Parent
| on HN ]
There are no comments on this comment yet.