So you have a crapy computer or you just want to get a new computer. So what should buy? I can help you find the laptop for you.
-Ram - ram is a big thing while coding or pretty much doing everything. You should have at least 8gb ram but recommended is 12gb of ram or higher.
-CPU and GPU - You might think that GPU is not that big of a thing especially for coding, but it can be pretty big for things like Machine learning(ML) and Neural Networks(NN).
-Screen - Having a good screen for coding is very important so that you can look at code and look at more code at the same time.
-Operation system - Operation system can make your process of coding better or worse, the best one's are Linux, MacOs then Windows. Windows terminal is not that good and can make your process very bad. I feel that everyone should learn Linux because the whole internet work's on Linux.
- MacBook Pro 16 inch - Mac Os is a Unix based system so the terminal is very much like Linux. And the screen is amazing for coding and 16 inches is not bad for a laptop. While CPU and GPU are not the best they will get the job done.