If it's just for general web development, my plan is to buy a used 2015 MBP, but with AppleCare until mid-2018 or later, and re-roll the dice in two years.