News for hackers. Stuff that matters.
Re:Ask HN: What's the largest amount of bad code you have ev... by mikekchar on Wednesday November 14, 2018 @06:57AM (#18449200)
Yeah. To me "test driven" really means that I write code under the constraints that it has to make writing my tests sensible and easy. This turns out to improve design in a large number of cases. There are lots of other constraints you can use that tend to improve design as well (method size, parameter list size, number of object attributes, etc are other well known ones). But "test driven" is a nice catch phrase.

There are no comments on this comment yet.