As a musician myself I must say that flow isn’t important for practise, much more important are breaks
Going at something for 3 times half an hour with hours in between is more effective than going for hours straight. And this kind of focused time method also works well for programming. With programming it is harder to decide where to put the break.
Breaks don’t mean you have to do nothing, you just have to do something that is mentally different. When I take a programming break, making music, soldering or reading is quite a good programming break.
Going at something for 3 times half an hour with hours in between is more effective than going for hours straight. And this kind of focused time method also works well for programming. With programming it is harder to decide where to put the break.
Breaks don’t mean you have to do nothing, you just have to do something that is mentally different. When I take a programming break, making music, soldering or reading is quite a good programming break.