I have both of those habits well entrenched, although I'm working on the sugar, because it really jacks my blood sugar and if I start I can't stop until I practically feel sick. Never drink soda anymore but cookies or something like a creme brulee are my downfall. Just have to avoid it and not keep it n the house. I always have fruit when I want something sweet, which doesn't seem to have the same addictive quality.
As for coffee. Isn't that beneficial? Ha ha.