I’ve brought both and generally prefer a bear can. Hanging a bear bag correctly is kind of a pain. My Ursack doesn’t necessarily need to be hung, but if a bear gets to it, my food, while intact, will be mushed together with my chapstick, hand sanitizer and toothpaste. Closing up my bear can and setting it in a bush etc is just sooo much easier.
It’s also more useful than just a food storage container. Since they are hard shelled, they can be used to protect sensitive things as well as act as a seat, sink and water transportation device.