As a developer, you'd be well served by a 2015 (if you like the old keyboard), 2016 or 2017 MacBook Pro. Why do you want to spend so much money to pay for Apple Corporate to get even wealthier? Even something like a certified refurbish machine will get you what you need (with full Apple warranty), AND leave you enough money for peripherals and accessories.
Buy a tool of course, that works for your job, but don't be clouded by the idea that you need the newest, the latest gadget to do basic development.