I think that's honestly a great takeway.
You don't have to abandon empty calories or even guilty calories, whether that's sugar, booze, fast food, whatever.
You just gotta see its place in the bigger picture and make space for it.
And once you start working out hard and with a purpose....you stop wanting as many empty calorie for the short-term satisfaction they give you. If you're trying to be mindful of your calories AND you're working your ass off (literally)....you start craving real calories for the energy and nutrients your body is crying out for, moreso than junk.
At least this was my experience. Within three months of getting serious, I upended some of my food patterns. TBH the "real calories" I still pretty much eat the same things as I did before I was being mindful. I just jettisoned the really indulgent stuff (double quarter pounder from McDonalds, soda, fries and an extra Cheesburger because why the fuck not. I've always had a large appetite for my size due to my basic metabolism.) Instead of getting Fried Mozzarella Sticks as a side for my Arby's roast beef sandwiches, and a cup of cheddar cheese to drizzle all over it.....I just went for MORE PROTEIN instead. I'm not claiming this is some magical trick, but if you're gonna eat fast food, you can still manipulate the variables for more a desirable result.
The other thing I changed was just cutting back my empty calories 80%. I asked myself "what sugar do I feel absolutely cannot do without." The answer came back: sugar in my coffee. So I cut that in half and pretty much tossed the rest. No more M&Ms before bed as a dessert. No more buying Ice Cream just to have it around. I'd already started to become straight sick of soda so that felt pretty easy to give up and substitute with coffee. Still getting sugar and caffeine, just wwaaaaayyyy less sugar. From there I gave myself a couple cheat meals (not days.)
Luckily I don't have much of a taste for the drink, so those aren't calories I have to make room for.
My diet before I got serious about working out and weight loss was, in short, an abomination of overeating garbage. My metabolism and genetics is probably the only thing that saved me from being obese in another couple years. Now, my diet may not be clean but the only shocking thing about is the amount of food I put down on a few selected days. (Friday: A 16' roast beef sandwich with double meat from the local deli shop for lunch, and an entire pepperoni pizza and a coke for dinner. That's a 4000+ calorie day now that I add it all up.) But because I reign it in the rest of the week, coming in around 2.4k calories a day I'm still losing body fat with the additional calories lost from workouts. I'll probably only eat one meal and a snack on Saturday and Sunday because of weird hours.
And I've been doing this for over a year and a half. If people want, I can literally give them my weekly meal plan because I'm so fucking boring and habitual. Not because I think anyone should follow it per se, it works for me. But as an example of what's actually possible given what inputs.
So yeah: you can let yourself live and if not lose weight, at least maintain it. You just gotta make ROOM for that stuff around a decent diet. Nenjin loves whole milk for its vitamin D, fat, protein and creamy goodness. I like having a glass before bed with a protein bar or some nuts or something. But that's like, 200 calories in a big glass plus the actual food. So on days where I've eaten well I just....won't have that glass of milk and have water instead. If you know how many calories roughly you eat in a day, you can pivot around and make adjustments for the things you feel you can't do without, as long as you're _honest_ with yourself about it.
And that's just daily life. When you add exercise to the mix, you get a larger calorie budget to play with, depending on your goals, what you're doing and how hard you're working.
At least until actually getting lean is your goal. Then you gotta start making some harder choices. The more crap you want to eat at that point, the more you have to cut in to your actual nutrition intake and that can start to get dicey when you're already in a calorie deficit.
I dunno, the philosophy around eating and weight gain or weight loss, and fitness in general, that I've come to is this: "I doesn't matter what you do IN A DAY, it matters what you do EVERY DAY." If you drink _A_ soda on _A DAY_? No big deal. Sitting around A DAY instead of doing something physical? No big deal. But drinking soda EVERY DAY, those calories pile up. Just like the filth in your bathroom when you never clean it. You use your bathroom every day, and the detritus will continue to accumulate until you do something about it. If you sit on your ass EVERY DAY and never do anything physical, all the problems that creates compound over time if you don't do something about it. Working out _A_ _DAY_? Not really a big deal. Working out _EVERY DAY_? Now you're getting somewhere.
Life is like that. It's the little things that build up over time, so slowly you can't see, until suddenly you can and you have to start trying to ignore it. Life is about accumulation of your habits, good and bad, over time. Accumulate thousands of hours writing code? Be able to make programs. Accumulate thousands of hours in the gym? Get swole. Accumulate thousands of hours sitting on your ass? Get back problems and weakness and stretch marks. Drink and eat calorie dense, nutrient light foods every day and never do anything with those extra calories? Get fat, get diabetes. Smoking cigarettes every day? Get cancer. Drink alcohol everyday? Get cirrhosis of the liver.
Christ, I've just noticed the other day that I've finally got lines in my forehead because I'm about to join the old ass man club. Apparently it comes from a life time of raising my eyebrows up in surprise. Given this rant, no one but me is probably surprised.
It's so obvious no one needs to have it told to them. And yet it being obvious and actually living with it, both the good and the bad outcomes, is a different story.