Consider the beggar’s context too. How many times per day/week must they go into that McDonald’s? Leftover fries are probably what they get offered the most. You can accept it a few times, but after a while they provide neither pleasure nor sustenance.
> In my experience, people don't give cash to beggars anymore.
Anecdotally, seems about right.
> But I think many would be open to give food or donate useful objects instead (which they don't have at hand when being begged).
Again, I agree, but I don’t think anyone asks either. One possible workaround would be to donate to your local food bank or another organisation you trust, then when asked by a beggar direct them there. Though that could be another can of worms depending on where one lives.