Learned some thing here

. I always believed, "You don't get fat from fat, it's sugar that makes you fat".
Excess consumption of calories results in the deposition of bodyfat.
Eating carbs triggers metabolic processes that encourage bodyfat storage. This happens via increased insulin production. Insulin has also growth factor-like properties that encourage bodyfat and muscle increase. Google mTor. This is why strength athletes and bodybuilders eat all the time and why they often abuse insulin.
Eating when not actually hungry encourages means constantly elevated insulimsecretion with all the metabolic consequences this entails: elevated blood glucose levels, elevated insulin levels, mTor being triggered. Eating all day long, from morning till night is a recipe fir dusasrer because the body never gets the break it needs from the effects of insulin and mTor.
Restricting food intake to a period of 6 to 10 hours a day results in less exposure to insulin, less time being subjected to mTor and giving the metabolism a chance to switch from using glucose to using bidyfat as a fuel. Look into AMPK.
Research has shown that carbs triggervthe most insulin response, protein less so, and fat triggers a very minor response. By eating a diet very high in fat you can indeed make your body make less insulin and be less prone to getting fat. That's also because fat is very satiating and willmmake you feel full. However, our bodies were not designed to live off fat.
To sum it up, for weight maintenance:
Cut carbs
Restrict the daily feedings (you already sleep probably 6 hours within a 24- hour period)
Nutrition! Protein, fat, carbs. Don't neglect getting micros and especially phytos.
Sufficient sleep at all cost
Exercise
For weight loss you need to add a caloric deficit.