I know people are going to hate me for saying it, but maybe a mac is a good idea. In addition to regular programming languages, you can test Swift, and it runs on Linux, giving you more access.
For windows laptops, I am currently using an HP Elitebook, with an i5 and 16gb RAM. Decent, but I am going to try upgrading to something with a better display/power soon, as it has a 1366p display and only 180GB of storage. A better, higher-end model of this may work for you.
I currently am learning Java.
Note that I'm a high school student, so my requirements are probably much different than most- I don't have much money to spend and this laptop is decent for my basic needs and basic programming.