I have been using HTC Wildfire for few years. It wasn't cheap when I bought it, in about 2010 I think. But niw it should be relatively cheap.
Doing daily tasks on it is not hard, small screen and a bit bulky touch response but it was doing its job well. Isnt fast but enough for development and I used it a lot. Feels good in your hand
Been able to install cyanogenmod and used that for over a year.
So yeah I would say wildfire would be one if the options.
Btw rasenove, from what I have seen until now you wouldn't manage programming
but you can always prove me wrong