Coding is very physical. Your brain burns through tons of calories as it is, and is in overdrive when you code.
I had a teacher who said he'd lose several pounds per game in competitive chess play.
It burns between 15 and 30% of your caloric intake, depending on which source you find the most accurate and the size and level of activity of your brain.