Best MacBook for programming?

I am looking into programming primarily for Android and iOS and I am not sure which Mac setup would be good enough to have a decent computer to do programming on. I would prefer a MacBook (Air or Pro) for the portability, my budget at no higher than $1200. I'm asking anyone out there knowledgeable enough about Macs what will be good enough for programming.

Also, you don't necessarily have to recommend the latest models, I'm completely fine with buying a refurbished model from a year or two ago.