For your usage, core i3 is good for you.
http://www.amazon.in/Intel-Core-i3-6100-1151-Processor/dp/B015VPX2EO
I personally think that you need to buy laptop instead of pc.
I am also programmer, but likes to play heavy games also, thats why i choosed desktop.
But sometimes when programming some codes, I feels like I need to buy laptop.
Some programmers like to work with groups. In this case laptop is recommended.