I found it worked however I think it depends on the person. I used it along side calorie counting. I found it gave me structure and routine (which works well for me).
I started off by doing 16:8 but found I'd often go a bit longer and now do between 16 and 20 hours fast a day. I'm doing it long term even though I'm no longer actively dieting as I found it's helped my gastric symptoms. I also found that if I gave myself permission to have a day off for a specific occasion it was OK to then get back onto it the next day (rather than give up the diet). Psychologically this helped, I also did more 20 hour fasts if I had a day off to make sure my weekly total was the same (not sure it made a difference but helped me stay on track).
I found having an app to log it also helped.