Official comment
I have used both, the MacBook Air is better in my opinion for what you are doing. Even a 13" MacBook Pro from 2015 would be great since it can be updated and probably has an I7 chip set. The Air I use is a 4gb ram 2013 model and it's awesome, but do wish I had 8gb of ram or more for the occasional video work.
Check Apple Refurb for some great deals on even newer models!