I tended to gain weight during Ramadan, but that's probably because my family made a big deal of every iftar, inviting extended family members, eating out and having big greasy Pakistani meals almost every night. I'm somewhat convinced that the type of food in my family would go towards explaining the early 60s life expectancy. Thankfully I married Japanese so I'm hoping that cancels it out!
I found fasting to be generally easy, even in quite long days in Saudi Arabia. Rather than hunger it was more the habit of snacking as a reaction to it that catches you out. The main tactic we had for dealing with it was (as much as possible) sleeping during the day and working at night, though I imagine you'd need a very understanding employer (or sufficient litigation) to pull that off as a full-time dev.