News for hackers. Stuff that matters.
Re:What does code readability mean? by carlmr on Tuesday January 09, 2018 @06:47AM (#16105398)
TDD should give you the simplest solution conforming to your spec (your tests). So it's all the necessary complexity without any unnecessary complexity to fulfill your testsuite, and ease of refactoring in case you need to change something more fundamental about your code.

At some point you need to specify which edge cases you need.

Re:What does code readability mean? by chriswarbo on Tuesday January 09, 2018 @08:08AM (#16105853)
> it's all the necessary complexity without any unnecessary complexity to fulfill your testsuite

As I said, it doesn't solve the problem of overcomplication/simplification, it just shifts the burden on to the test suite instead of the program.