It depends on what programming field you want to work and your budget. Firstly, I recommend to choose programming language. If you want to became Front-end developer, it’s JavaScript or TypeScript. If you want to became back-end developer, you should choose between Python, Java, C# or NodeJS. Secondly, I recommend to choose MacBook only on M processors. Likely, on Apple website https://www.apple.com/mac/ you can specify your needs and and website will show the best option for you. Good luck in studying programming