I find flow charts (good method) get me on track after fighting
with keyboard level algorithm design (bad method). Work on the
problem/method/algorithm in the best tool (the one which your brain
likes).. Then and only then go to the keyboard to implement (code) it
in the language of choice.