When I configured the HP to the same specs as my wife’s new Macbook Pro the price was almost identical.
Two differences - my wife got the 1 TB drive and the best the HP could do was 512 GB and the HP has a 14” screen compared to the Macbook Pro 13” screen.
Well, do you want Wintel or Mac?
If you don’t care, then go with the Mac.
If you need Windows for the development environment, then get the Wintel box.
However, for just an extra $100, you can get W10 home edition and run it as a virtual guest on your Mac box.
With Virtualbox, you can do that seamlessly. In seamless mode, both the Mac and Windows desktops are active at the same time. You can run windows apps on your Mac desktop right next to your Mac apps.