On a hardware comparison, even the most basic Macbook is clearly not a slouch when it comes to performance. A programmer may not need a beast of a machine, but one needs to have a machine which has decent raw power.
Though not extremely crucial for development, you simply cannot code efficiently on a machine that cannot keep up with you.