should last long at least 4 years or more.
A 1080p/1200p resolution laptop with at least an RTX 4060 or 4070. You will have to lower the quality effects by each year passing. It would cost you more than your mentioned max budget tho.
And avoid any resolution higher than the ones mentioned.
If I were you, I’d build a PC for gaming and game development and get a casual cheaper laptop for school work
Gaming laptops are just meh.
All of those brands are crappy, but I would choose the ASUS one. I have that model actually.