For me it’s the opposite. Coding I enter flow and can do 5 hours at a stretch while barely noticing.
Prompting has so many distractions and context switches I get sick of it after an hour.