I love my MacBook Pro. I have had it for about 4 years now, it has gone across the country with me, I have dropped it way more times than I'd like to admit, and put it through all kinds of abuse, and the thing works great! I love it to death. It is certainly more durable than any Windows machine I've ever used.
But I have had a hell of a time coding on it. Granted, I'm studying game development, so I'm not sure how well this applies, but in almost every project I've worked on, some portion of the pipeline was incompatible with OSX.
My advice would be to get a windows laptop. You can build a similar machine (probably a better one, if I'm being honest) for the same price you'd pay for a MacBook.
And yeah, gaming isn't great either. It's definitely getting better, but the selection is almost exclusively indie games. You're better off with Windows, where you can get everything.