Yes, it works. Eat a salad, rice, beans, fish, and vegies once a day and you're good. I'm fasting 18hrs/day and I lose fat + gain muscles. Also, I save lots of time which I can put into work since I don't spend my time on preparing/cooking meals that much.
You just have to eat the right type of food, beans, yogurt...