When comparing MacBook vs HP Envy 13, the Slant community recommends MacBook for most people. In the question“What is the best laptop for programming?” MacBook is ranked 15th while HP Envy 13 is ranked 25th. 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 Extremely portable
The HP Envy 13 is one of the thinnest laptops on the market at just 12.9mm thick. This detail, coupled with the fact that it weighs just above 1.3kg make the Envy 13 one of the lightest and most portable laptops on the market.
Pro MX150 GPU
Adds extra grunt in a small form factor.
Pro People who usually use their laptop on a desk will feel very comfortable with this
The Envy 13 has a hinge on the back which gives the laptop a slight extra boost in keyboard height. This puts the keyboard at a much more comfortable typing position and reduces RSI and finger-fatigue from extensive periods of typing.
Pro Good performance for the price
The HP Envy 13 offers good performance for its price. It can handle up to 16 Chrome tabs open simultaneously without even a bit of lag. Daily mainstream activities such as web browsing, editing files and even development work can be done on this laptop without any particular issues.
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 Poor battery life
The Envy 13 has a relatively poor battery life. You may get about 9 hours out of it if you use it for general web browsing and some productivity work, but anything more than that (watching videos, light gaming) and you will start noticing that the battery life is considerably lower.
Con The touchpad may be unreliable
Sometimes while dragging the cursor to select text, the touchpad will not interpret the input correctly and may start zooming in or zooming out.
Con No touchscreen version
HP does not provide a touchscreen version of this laptop.