How badly do you need a laptop as of now? I would say if you can, wait just a little longer and buy a mac. Throwing bias aside, I believe macs are great laptops. The battery life is unbeatable, the built quality is amazing, and just the overall experience is great. I dabble a bit in programming, and I can say that the mac is one of the best choices I have made.
Aside from that, if you really need to stick to that budget go for something like this:
HP 15 inch laptop with 8gb ram
If you don't want to have any problems with games, 8gb of ram is somewhat important. For the price, you will not get anything better than intel integrated graphics.
As for programming, you could use a potato hooked up to a keyboard and a monitor and it would still work fine, so you don't need anything special for that.
The best place to look is google. Search for "Best budget laptops" and you will find some great stuff. Good luck, hope I helped.