by rtpg · 9mo ago · 0 comments
I think generally it's more about sketching the high level structure of the code. I will routinely write things like :
documents = ...
by_client = documents.group_by(client)
for client, doc_set in by_client:
for doc in doc_set: csv.write(doc)
Not at all following the actual APIs I use, but I can fill in the blanks when getting the code in place.The above is very simple, of course, usually I'm working through something where I just want to play through what pieces of data I might or might be missing
I vastly prefer just making a working skeleton and filling that with actual code as I progress.
I need a fast feedback loop for the way my brain works, spending too much time on not-working will just confuse me further.