DEV Community

Discussion on: Beyond Static Typing

 
szymach profile image
Piotr Szymaszek

I understand the confusion, since we are talking about a thing that is not just one component.

Saying TDD produces good design is incorrect - it is just a technique you can use to quickly get feedback on the design decisions you have made. Can you make these decisions without it? Yes. Is it easier to do so with it? Personally I would say so. Is it enough to achieve that? Definitely not.

As much as I agree that static typing is great and we could use even more ways of validating code before you even compile it, I cannot agree it makes TDD obsolete. I just do not see how you would have to choose one over the other, to me they are complementary.