Sometimes, you just need calories. Sometimes, it's hard to get that if your diet is too strict.
Fast sugars are best post workout, and, in fact, a good idea. Fat is essential for good health, and, you need fat to keep your calories up and so that testosterone works right.
Like anything, you should apply common sense. A diet of all bar X is not a good idea, but, with a busy lifestyle, and fast calories on the go, you're fine eating them. Just engage your brain when doing do.
Lots of folks sabotage their training efforts with too few calories. If you're active, 8 grams of fat and 10 grams of sugar might just be the thing you need, especially post workout.
Even when I'm at 4% fat, I load post workout with up to 150 grams of carbs, with about 1/3 to 1/2 of that being fast carbs. It's all in the timing.
If you just sit on your ass all day, drinking 64 oz soft drinks on top of pizza is idiotic. Our requirements change contingent to our activity levels.
If you're 21 years old and constantly on the go, 330 calories from a bar is what you NEED.