The first is diet. Don't eat too many high-calorie foods, keep a reasonable diet and eat more fruits and vegetables. This will ensure your nutritional integrity and drink plenty of water. These practices can avoid excessive calorie intake to the greatest extent and fundamentally alleviate the formation of obesity.
Usually snacks and drinks. Some programmers like to eat some high-calorie snacks such as potato chips in their spare time, and some drinks such as milk tea can also gain weight. Programmers often stay up late because of long working hours, so it is common to eat supper, which is also a reason for getting fat.
Regular life and good sleep can help you keep your energy. If you are energetic, you may have the desire to do some small exercises after work, and sleep itself is also helpful to your health. It can also prevent the harm caused by obesity.
Some office sports. You can get up and move your hands and feet after working for a period of time. Although it has little effect on obesity, it is also helpful to help digest food and protect health. But after all, these exercises have little effect on losing weight. You can still go to the gym when you have time on weekends. If time permits, you can take the stairs instead of the elevator. This is the most effective way to change obesity.
Conclusion: The above are my views and suggestions on this issue, hoping to help you solve some problems and puzzles.