Agree with Marko
I d go for a Lenovo T470 or X1 Carbon(No docking), depending on the config you won't be that far from the price of a macbook
Personally I use it with Linux installed, the only drawback would be shorter battery life than MacBook Pro
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.