Just my 2 cents, FWIW, I think it's important to weight train to some extent, when you're dieting, b/c when you diet, you lose muscle as well as fat.
If you yo-yo diet, you will continue to lose muscle each time you lose weight, and keep lowering your metabolism. This will make it harder...