Read the entire block of code line-by-line and letter-by-letter only once. Thereafter, there should be a mental model for knowing what the block does. This can be a comment or some way of re-collection to know what it’s for without having to go back to reading the code line-by-line.
I currently do this using code comments which I add to the top of the blocks. There should be some sort of boilerplate that should be filled for each case. This way, the recollection will be easier to map out.
I tend to summarize better by forcing myself to make these comments into the files and this way I don’t need a 3rd-party space to make any definitions or respective changes either.