How best could this be done? A) Providing expertise and paying for infrastructure improvements? B) Giving the leaders of the country funding? C) Do not interfer with the development of other countries. D) "Keep the money here and they can pull themselves up by their bootstraps." BTW mods you can make this a poll if you want to, I can never seem to get that working.
E) Make aid dependent on allowing charities visas and access to the people who need the money. And a bit of A too. But unfortunately, all too often, the money ends up in the pockets of the ruling class, or in some cases, terrorists. Even when there is relatively little corruption, I suspect the money goes towards making the rich richer, rather than helping those who truly need it.
F) Stop the same countries offering aid from taking the money from it in other ways such as resources
G) Instate programs such that the aid goes directly to those individuals in need, to help establish sustainable water sources, food supplies, community improvement and ways to make a living. Avoid giving it to corrupt officials, and step up oversight/distribution via outside charitable organizations and watch-dog groups. Example: Don't write a check to Bashar Al'Assad.
I like what the UK government is (or was) doing with Uganda - instead of giving money directly to the Ugandan government, they gave it to organizations such as Amnesty International. I don't think aid is going to Uganda at all now though.