Spec-driven development doesn't work if you're too confused to write the spec

2 points by josephjnk


josephjnk

I’ve been mulling on a related idea recently that I’ve not yet made fully concrete. Something like: does the friction of fighting with code give feedback on the quality of the domain rules which one is attempting to encode? When I’m writing a library I want to try to use it; if using it feels bad then I’ve probably done a bad job implementing it. Does this extend to the level of applications, not just libraries? If so, does cutting out the struggle over the concrete representations cut off an important feedback channel by which we monitor and evaluate the direction of our system’s evolution?

chad

I agree; ever since using functional languages with ADTs, I find them extremely useful to structurally break down problems. And without understanding the structure of the problem, whatever prompt I come up with is probably solving the wrong thing.