If someone is measuring productivity in code, based on the amount of lines of code written, then they have never written code. Anyone with a tiny understanding of how programming works would totally get why something so small could take so long.
I know the reasons for not producing code consistently. They're logical and I can even verify them. BUT I am still frustrated with myself when I don't produce significant code each day.