The key in my opinion is to find a way of eating (WOE) that allows you to restrict the number of calories you're consuming without much effort or feeling overly restricted. For me this has been intermittent fasting. What will work for you long term? Experiment a little and find out.
"Getting solid information is easier than ever. Getting misinformation is even easier." - Kaplods
Maintaining for two years and I eat whatever I want - just not however much I want. Details here.