For years, dieters have had to deal with a lot of conflicting advice on how to eat. First, fat was the bad guy. Then it was considered ideal to avoid sugar and go low-carb.