I am currently using a Dell XPS 15 and it's great for programming. The only thing I don't like about it is the keyboard, but that's just me. It has a Numpad which I use for my code editor and some other things, so it works out fine.
It is very important that the laptop has:
1) A good processor
2) Good RAM
3) Good hard drive
4) Good graphics card
5) Great battery life
6) Lightweight
7) Runs windows 8 or 10 I don't need any of these things, but they are nice to have.
There are many different laptops available for programming. The best ones will be the ones that fit your needs and budget. Here is a list of some popular laptops used by programmers:
Lenovo Y700 (Amazon link) – This laptop has an excellent keyboard, screen and battery life. It also comes with a 256GB SSD which makes it ideal for programming. It costs around $1000 but you can get it on sale often at Amazon and other retailers.
If you are looking to save money, this is probably the best option for you as well as having the most features out of all of them listed here!