Actually, what works is giving up or drastically reducing processed sugar & carbs; not all carbs. Carbs are what we run on.
Processed carbs are pasta, bread, chips, (anything made with flour), and the usual foods that have processed sugar - ice cream, cookies, pie, cake, etc. - Everything we like to eat. Raw fresh fruit is not a processed carb; the sugar in them occurs naturally & the fiber slows down the conversion to glucose, so less insulin is required. Insulin is a fat-storage hormone, so the less we require, the better. Most people with a weight problem are eating foods that require a lot of insulin (like processed carbs).
As for snacking, I snack frequently due to constant hunger, but not on processed carbs. A big factor in weight is not how much you eat; it's what you eat.