The quality of your calories absolutely matters.
You could eat nothing but 1000 calories of pure sugar a day and still lose weight
Yes, if you were locked in a room and passed exactly 1000 calories of sugar cubes and water every single day. Most of us live in the real world with food all around us, easily available, and responsibilities to stay on top of. It's really easy to say "this diet is making me feel terrible, I'm just going to eat what I want so I won't be so cranky to my kids".
http://www.cnn.com/2010/HEALTH/11/08/twinkie.diet.professor/
Calorie restriction diets feel like holding your breath for 6 months straight. Then as soon as you can't take it anymore, you exhale and instantly gain it all back. It's horrible. Nobody's will can hold out for that long.
Some people are happy eating whatever diet keeps them at an ideal weight. Some people never will be, and it's a form of torture.
If someone is trying to increase their bank balance which advice is more likely to help them: "Just increase your dollars in or decrease your dollars out" or "Get a roommate, move to a less expensive neighborhood, cook your own food instead of eating out"?
One tends to regulate itself, while the other requires strict (and rarely followed) calorie counting.
If you eat hyper palatable food that makes you hungrier, you'll eat more. Pure and simple.
Try to buy something healthy at your conventional grocer. It's generally tucked away at the far extremities of the aisle if it's there at all, and you normally have to bypass several fake "healthy" options that are really just slightly different formulations of the primary recipe. You have to really hunt just to find something as simple as a loaf of bread that isn't infused with extra sugar. Some loaves that bill themselves as "wheat" are still mostly white bread, etc. There is a large array of deceptive tactics used to get people to buy the more addictive formulations when they think they're buying healthier ones.
IMO this is a technology problem. We have sufficient technology to bring a steady supply of maximally-desirable foods, which, unfortunately, tend to have the least nutritional value. This creates perverse incentives across the marketplace because grocers, suppliers, distributors, and farmers all want to sell more, which means they will always favor the higher-calorie options, because human biology always favors it. It's a really bad place to stall at a technological stasis.
Instead of fighting chemistry and biology and berating those who fall victim not only to their own strong physical inclinations but also to a barrage of marketing tactics designed to trick them into continuing to buy addictive-but-unhealthy foods when they're explicitly trying not to do so, we need to develop technology that makes broccoli maximally-desirable without changing its basic nutritional and caloric properties, or technology that infuses maximally-desirable foods with nutritional and caloric properties akin to maximally-nutritious foods.
I don't think most people are compulsive overeaters. There's a myth among some naive people that every overweight person has a stash of 40 SNICKERS bars constantly at hand and that they eat 10 of these per day. This is not true except in the most extreme cases. The truth is that most people eat reasonably normal amounts and types of foods.
A good article on this: http://www.nytimes.com/2013/02/24/magazine/the-extraordinary...
I don't think the solution is to constrain the food companies. That's a hardcoded workaround at best, and the potential ramifications do not seem pleasant. We can't turn back the hands of time; the fact is that the demand is there, and while minor attempts to curb demand like a junk food tax may help a little bit, the core issue is that our bodies crave those foods at a fundamental level. Our bodies punish us for wasting what it interprets as a valuable food store by making us extremely uncomfortable. Creating a black market for Doritos is unlikely to provide real social benefit.
We need to find a way to fix the technological state of having the ability to create unnaturally hyper-caloric foods, which our bodies love, but not the ability to properly dispose of the excess calories. We need to a) make our bodies love low-or-no calorie foods (and Splenda et al are great innovations in this space, though obviously not complete); b) make our bodies dispose of excess calories in a healthy manner, instead of putting them into excessive fat stores (this may be something like a medical device or drug that 'consumes' the calories on behalf of the digestive system); c) make high-calorie foods filling and nutritious, so that one Milky Way provides satiation and nutritional benefits that align with its calorie count.
Check out Salt Sugar Fat if you haven't read it yet. Good stuff: https://www.amazon.com/Salt-Sugar-Fat-Giants-Hooked/dp/08129...
A diet of hyper-palatable, nutritionally void processed food will do that.
Eat real food. Meat, fish, nuts, fruits, veggies, maybe some carb-dense grains (I like rice) here and there when your body can take advantage of the extra glucose, and you'd be surprised how easy it is to both manage your hunger and your weight.