News for hackers. Stuff that matters.
Re:Write tests. Not too many. Mostly integration by afarrell on Friday October 27, 2017 @06:46AM (#15567173)
yea, you should be changing code style to increase modularity in a way that is conceptually coherent in terms of what is easy to hold in your head. Increased testability should fall out of that because you can think through "What invariant should hold true about X under conditions/inputs Y1...Y4?"
Re:Write tests. Not too many. Mostly integration by hinkley on Friday October 27, 2017 @12:39PM (#15569980)
Code you can hold in your head usually has a smaller surface area. Fewer moving parts equals easier testing.