When comparing MacBook vs HP Pavilion X2, the Slant community recommends MacBook for most people. In the question“What are the best USB-C laptops?” MacBook is ranked 14th while HP Pavilion X2 is ranked 18th. The most important reason people chose MacBook is:
macOS is based on XNU (Darwin) kernel, it's a [certified Unix](http://www.opengroup.org/openbrand/certificates/1190p.pdf) and arguably a lot more developer friendly than Windows. Development for Unix is native on macOS. There's a large selection of great development tools available for macOS. 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 macOS and iOS software, for free. You can also install [Homebrew](https://brew.sh/), an extremely useful package manager.
Ranked in these QuestionsQuestion Ranking
Pro macOS is developer-friendly
macOS is based on XNU (Darwin) kernel, it's a certified Unix and arguably a lot more developer friendly than Windows. Development for Unix is native on macOS.
There's a large selection of great development tools available for macOS. 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 macOS and iOS software, for free.
You can also install Homebrew, an extremely useful package manager.
Pro Amazing display
Everything about the display is very good - from its high resolution (2304x1440) to the brightness (325 nitts), uniform brightness distribution (90%), and high contrast ratio (1000:1) with over 95% of the sRGB spectrum. Overall, a great display which will come in handy for people who work with visual arts.
Pro Decent battery life
The battery lasts around 7h30m of continuous web browsing which is about average for this class of laptops. Where this laptop's battery truly shines though is under heavy stress where it manages to last an impressive 2h35m under a total stress test (maxed out brightness and processor usage - circumstances that you are likely never going to encounter in the real world).
Pro Extremely portable
The laptop weighs just 2 pounds and is 13.1 mm thin. It's one of the thinnest and lightest laptops on the market and it's extremely portable and easy to carry around.
Pro Decent keyboard
Pro Excellent trackpad
The MacBook has a large 4.4 x 2.7-inch Force Touch trackpad with a Taptic Engine that delivers haptic feedback whenever the user taps on it to give them the impression that they are actually clicking on it. It also supports gestures and multi-finger swiping.
The accuracy is almost perfect and there's virtually no lag or stutter when using the trackpad.
Pro Available in 4 colors
The laptop is available in space gray, gold, silver and rose gold (pink) finishes.
Pro Very good speakers
The speakers, found above the keyboard produce loud and clear sound with minimal to no distortion whatsoever. They can be used for both listening to music and watching movies with no problem at all.
Pro Completely silent operation
Thanks to the Core M processor (which doesn't require a fan) and the SSD storage, there are no moving parts the in MacBook. It will operate in complete silence.
Pro Decent performance
The Intel Core M3-6Y30 and Intel HD 515 Graphics, paired with 4GB of RAM and 128GB SSD offers very good performance for its price. The Core M is ranked below an i3 processor, however not by much. The bigger difference is that the Core M is designed to be used with passive cooling (no fans) and draw very little power, making it ideal for mobile machines that require more performance than the Atom series.
Pro Lots of ports for a tablet
The X2 has a USB Type C port (used as the charging port), as well as a USB 2.0 port, Micro SD card slot and mini HDM. All of these ports are located on the tablet's right side near the bottom.
Pro Great speakers
The front facing speakers help a lot to make music an immersive experience on the Pavilion X2. They offer sufficient bass, as well as clear trebles.
Pro Good keyboard
While small (about 25% smaller than the average keyboard), the keys offer 1.47mm of travel and require 55g to actuate - both typical for higher end laptops.
Pro Good design
The Pavilion X2 is an attractive looking laptop, or even tablet is you choose to remove it from the keyboard. There is no latch for the keyboard - it's held in place by magnets. Small stabilizers on the keyboard prevent the top from bouncing too much.
Con Connecting more than one thing requires a hub
The laptop comes with a single USB-C port that's used for charging as well as any other peripherals or external storage devices. Connecting more than one thing at a time requires using a USB hub.
Con Not very powerful
With an Intel Core M processor, the Macbook isn't a serious development laptop. While it will get the job done for lighter tasks, it will struggle with heavier jobs.
Con Non-free software
Apple doesn't release the source code for most of their software & firmware. This makes it significantly more difficult to customize, automate tasks, and verify security.
Con It's a bit hard to get used to the keyboard
The keys are pretty shallow, with a travel length of just 0.5mm. They still provide good feedback and the writing experience itself is not bad, but it's just a bit hard getting used to, especially if you are coming from a laptop that's not a MacBook.
Con Little storage
The storage caps out at 128GB, and the SD slot can only add another 32GB. This is plenty if you look at it as a tablet, but that's not much storage for a primary laptop.
Con Lackluster display
the 12" 1920x1080 touch screen doesn't offer competitive color range, and at max brightness is dimmer than most of its competition. It's resolution is high, giving it an advantage over many other laptops in its price range