4 ms·
No matter how carefully and thoroughly we design a system up front, we almost discover more elegant solutions once we start writing the actual code. I suspect t
by kevinskii 5y ago
No matter how carefully and thoroughly we design a system up front, we almost discover more elegant solutions once we start writing the actual code. I suspect this is true for nearly all non-trivial systems. If we were to fully implement every unit test up front we would usually end up wasting a lot of time.
- oweiler 5y agoWhat you describe is not TDD.
- convolvatron 5y agono, i took this as a good argument about why writing tests up front is really poor idea if you're exploring the space to find out what a good api might look like.
- webmobdev 5y agoEverything can be improved. At what point do you stop? Scope creep and gold-plating ...
- isbadawi 5y agoI think the person you're replying to is saying that "fully implement every unit test up front" does not describe TDD. With TDD you continuously alternate between writing tests and writing production code. It's not like you write a whole test suite up front.
- oweiler 5y agoYes this was my point.