4 ms·
This resonates with me. But, I have found that it is often more important to do several to "throw away" than it is to TDD the first. That is, I have yet to fi
by taeric 10y ago
This resonates with me. But, I have found that it is often more important to do several to "throw away" than it is to TDD the first.
That is, I have yet to find a process TDD/BDD/Whatever, that can truly up the viability of iteration 1 of a program. Instead, it is by iteration 3 that things have a chance. And, it seems, any process is likely to succeed then.
- crdoconnor 10y agoBDD allows you to "think through" the consequences of your user stories and potentially discard or amend bad stories before they end up getting implemented and causing problems.
- taeric 10y agoAgain, this resonates well. However, I have had many cases where I did not really see what made a story bad until I had almost succeeded in getting it implemented. In the end, I always want a way to make iteration 1 work. For it to be the only time I have to write something. However, experience is having done many many first iterations.
- TillE 10y agoIt's completely normal to do a throwaway prototype when exploring a new space. There's not many alternatives to that. But when you do have a fairly good understanding of what's going on (and you're unlikely to make major incorrect assumptions), TDD is a big help in designing APIs.
- st3v3r 10y agoI took a class on 3D modeling the other week, and the instructor was teaching the "sculpt" method. Instead of getting a bunch of measurements, and building shapes with those exact measurements, you would start with a big ol block, and push and pull the vertices and loops until you have something that looks like what you want. But a huge part of that technique is to throw work away. You do some work, get stuck, and then start over. Sounds wasteful, but by doing so, when you start the next time, you have a much better idea of what you need, and so you're able to go faster the next time. The lesson was designed so that you would have to do this a couple times.