THE WORKFLOW
Keep following the thought.
From a question to the code, from the result to the explanation. Fewer interruptions along the way.
01020304
Gather the context.
Bring together the references and notes that make the question clear.
Make the next change.
Write, build, and read the result. Keep useful references beside the source.
Explain what you found.
Turn observations into a document, with equations, figures, and code.
Leave a way back.
Keep the result and the reasoning so the next session has a place to begin.