I subscribe to the 80/20 theory.
Be mindful/careful/religious about your calorie counting- whatever- for 80% of the time, be less careful but always 'aware' for the other 20%.
But it's really important that you are careful for 80% and don't have a 'proper' eating disorder to derail the 20% by which I mean- if you're the type who cannot eat one or 2 biscuits but absolutely has to finish the packet, the box of chocolate, the 2 litre tub of ice cream then no, you cannot 'not worry' for 20% of the time or you'll undo all the good the 80% did!
If you planned to be a bit less careful on say Saturday night but then you 'accidentally' had a blow out on Friday night instead, you cannot then expect to be able to 'go easy' on Saturday night! It seems obvious but there are a number of people who do seem to believe they can somehow cheat their diet 'when it's not looking'
.
A thing I tend to do is not to restrict anything- but I do restrict quantity. If I want cake, I'll have cake, thanks, but I will have a 1/4 of a slice. Take out? No problem but maybe don't choose the most calorific option on the menu, but still choose something nice that you want, order enough but no more 'just in case'. In that way you keep the Deprivation Genie firmly in its bottle but don't undo all the rest of the good work you've achieved.
As an aside... it has been my experience that blokes don't actually know anything like as much as women about dieting and food. We forget that every one of us women, in this culture, have spent our entire lives being told what's 'fattening', what's 'slimming' etc etc, unlike the blokes who were building model railways and looking at boobs
during their formative years. I found this when DH decided to join me on weight loss. He likes doing the grocery shopping on Saturday morning, alone, but I had to smile when he came back with sacks of dried fruit and nuts, avocados, loaf after loaf of whole grain bread, ready made Caesar salads, chorizo (?!), full fat yogurts, bags of pasta and spuds, announcing this was his 'diet food'.
Shocked him with the calorie and carb run down of all of them! He had no idea!