Archive for October, 2009

Are tests (TDD) more important than architecture?

Posted in Uncategorized on October 23rd, 2009 by Marcelo de Moraes Serpa – Be the first to comment

I just had an insight — Architecture is important, but agility says KIS[S], so, when you do TDD/BDD, often the simplest thing that could work is not the best architecture. However, it works, and it is clear, since it is (supposed to be) backed by a good suite of tests.

I have noticed a pattern here: The more one is inclined to TDD, the less attention you pay to design patterns and OO architecture (even though we all know that a good architecture is needed, the refactor phase of TDD will eventually get the system to that level, based real-world needs), the less one identifies himself/herself with TDD (maybe only likes to unit-test not following tdd) then one is often much more obsessed about architecture in general.