The only real advantage of a bar is that it's easy to pullout of a pocket, tear open the wrapper and eat while riding.
I think there's one more advantage - bad taste. I keep one in my saddle pack for emergencies and I am never tempted to eat it unless it IS and emergency.