This is my first subjective question and I hope it won't be closed.
In short, my question is: Do you continuously judge yourself while coding?
By continuous, I would also include "during" the coding at time 't' about time 't-1'. If yes, how do you judge yourself? Do you kick yourself, when you are not able to churn out a code, the algorithm of which you know and just taking the few minutes more, because of whatever reason- may be your language of implementation is not something you have been coding recently, or just learning it or anything else.
For example, I am currently for a week or so, writing pure C code after a long time and it involves a lot of Data structures and algorithms. I am a bit rusty as of now in both and I am taking time longer than usual and I can't help kicking myself during coding. Is this harming my productivity? However, I am picking up well.