I look at bars of that type as a decent fill in when real food isn't always possible.
No, they aren't as good as whole, organic, real food, and yes, they are processed, but all in all, many of them are still better than lots of other things.
Make sure you also look at the sugar content, many bars are loaded with them, so try to stick with the ones with less sugar.