4 ms·
> initial implementation is only there to learn the domain I've been trying to do a kind of documentation-driven development, where I write a fairly detailed R
by lioeters 3y ago
> initial implementation is only there to learn the domain
I've been trying to do a kind of documentation-driven development, where I write a fairly detailed README file before I write a single line of code. It hasn't gone as smoothly as I imagined, I think it takes practice to get more effective - similar to test-driven dev. And it made me realize my usual approach is "to think by coding", and to explore the problem space with a rough draft of a program.
It must be a common approach, as I've heard people say "Throw away the first draft." Not only in programming but about writing in general. Ah, there's even a term for it:
Throwaway prototyping - https://en.wikipedia.org/wiki/Software_prototyping#Throwaway_prototyping https://en.wikipedia.org/wiki/Software_prototyping#Throwaway...