(no title)
rtpg | 18 days ago
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
theshrike79|18 days ago
I vastly prefer just making a working skeleton and filling that with actual code as I progress.
rtpg|17 days ago