Well, yes. Just for me this is the initial pattenr, an emoty skeleton, an outermost brackets.
Then i start to stuff the function’s insides with the real code, so i can not forget to initialize in the beginning, or to do the swap trick in the end.
I just make the all-covering finally clause and kick it out of my mind, focusing on the function goal.
depends on what you do
Yeah, perhaps i mostly need a sequential job “done to the t” to make sense, and if there is a meaningful intermediate result i woudl probably try to extract it into a separate function. Indeed.