There are a lot of people who may choose to purchase computers based on the tasks that they have to do. There are some people who will not choose the MacBook when they play games. It is good that you will have the right program to use if you choose to code with your MacBook. When it comes to performance, you are better off choosing MacBook Pro over the MacBook Air.
The MacBook air is lighter as compared to the MacBook Pro and it is less expensive but if you really want performance, the Pro version is always the better choice. Some people also use the MacBook Pro for developing different apps.