When I first started riding bikes I was extremely out of shape and riding without eating was completely out of the question. I would get sick. A lot of this advice is relative to your health level and how hard you are riding. 10 miles can be hard for some people. Also, even now if I go out for a ride completely empty it sometimes causes me to overeat later.
If you are fit I suggest eating whatever you normally eat like others have and see how you feel.