Pro The default macOS is relatively developer friendly since it's a Unix
OSX is based on XNU (Darwin) kernel, it's certified Unix and arguably a lot more developer friendly than Windows. Development for Unix is native on OS X.
There's a large selection of great development tools available for OSX. The operating system itself comes bundled with a powerful terminal emulator, called Terminal. Additionally, Apple provides tools, like Xcode, an IDE that contains a comprehensive collection of tools for developing OSX and iOS software, for free.
Pro Great performance
The MacBook Pro offers great performance both for day-to-day stuff and more niche graphic-related activities. The latest model also has had an update in hardware specs where both the CPU and GPU have been upgraded to their respective latest generations.
The 16GB to 32GB help with performance as well and the SSD speeds are unmatched in the laptop market which also helps with general performance.
Pro The OS is exceptionally easy to use
Macbooks are famous for working out of the box. The default operating system (macOS) is also exceptionally easy to use even for people who have never used it before. Most people will not need to customize or change anything since all the apps work perfectly as it is.
The people who like to customize things and tinker with their systems will also find it pretty easy to do, considering the fact that macOS is a Unix and allows varying degrees of control to users.
Pro Both the hardware and software are designed in-house
Both the operating system and the hardware are designed by Apple and are made to be as compatible as possible from the get-go. Any drawback that the hardware might have compared to competitors, is made up by the great compatibility between the hardware and OS.
Furthermore, because Apple controls the hardware that goes inside their laptops, they can be sure that every OS release will be fully compatible even with their older hardware, ensuring software compatibility for many years after the laptop is released.
Pro One of the best SSDs that can be found on a laptop
With read speeds at 3.1Gbps and write speeds at around 4.7Gbps, the SSD used in the MacBook Pro is the best in the market by far. This doesn't just mean opening/saving files is quicker, but it also has a pretty huge impact on general application performance.
Pro Amazing build quality
The MacBook Pro has an all-aluminum body that looks great and is sturdy enough that worries of accidentally damaging are mostly alleviated. It has a robust lid, well-spaced back-lit keyboard with speakers on each side of the keyboard and an excellent button-less trackpad.
Con Glossy screen
Apple has deleted the matte-screen option from its lineup, an unfortunate decision that reduces the usability of the computers and means you get less work done. You won't realize how much time you spend moving your head around to get reflections off whatever you're trying to see until you switch to a matte screen.
Those "deep blacks" and "rich colors" that you were supposed to get from a glossy screen are not present since they're buried behind a sheen of reflection under all lighting conditions.
Con No real Delete key
Apple's particular ignorance about this is just baffling, and they've had a lot of opportunity to fix it. But their laptops (and small Bluetooth keyboards) still have no Delete key. They only have a Backspace key that's mislabeled "delete." This is annoying for every use, but particularly for programmers; we tend to delete things from the middle of lines and refactor code.
The best keyboard-remapping utility (KeyRemap4MacBook, now called Karabiner) was disabled by an OS update a couple of versions ago and had to be rewritten entirely. It's still not fully functional, but can be used to convert another key (I use F12) into Delete.
But Apple could have addressed this problem (which other vendors never suffered from) by simply making the now-defunct Eject key into Delete. They inexplicably didn't.
Con Limited ports
The old adage form follows function seems to have been reversed. The laptop is elegant and thin, but missing PORTS and RAM. Once you add dongles or hubs it becomes unwieldy. Sure USB C may be the way of the future, but not right now. And again, if you are using VMs in your development, RAM is king and Apple took the decision to keep the laptop thin and max RAM (soldered in) at 16 Gb. The SSD is proprietary and welded in, again, you buy the 256Gb model and decide you want 1TB you are either SSD on USB C or trading in for a hideously more expensive model.
Con It's expensive
Compared to other ultrabooks such as the Dell XPS 13, the MacBook Pro is very expensive. For the latest (as of July 2017) MacBook Pro and Dell XPS 13 with dual-core i5 Processor, 8GB RAM, 256 SSD, the prices are $1.1k for the Dell XPS 13 and $1.5k for the MacBook Pro.