News for hackers. Stuff that matters.
Re:Ask HN: How did NASA make reliable software if they didn'... by kedean on Tuesday July 19, 2016 @05:00PM (#12124849)
Yeah, i've found that my heavily unit tested code is often my best code, simply because designing it with that in mind yields the simplest, smallest units. If I know I'm gonna need to write a unit test later, I'm much more inclined to split a long function out into more sensible small ones, and I'm not going to try to combine two different behaviors (because that's hell to test).

There are no comments on this comment yet.