My 2018 MBP keyboard failed on me twice already. My friend’s has failed 4 times. A third friend has had no issues.
If you get a 2018 MBP, be prepared to take it in for replacement frequently.
I've been a faithful MBP user, and before that a faithful PowerBook user. My 2017 MBP was the last straw. While I appreciate Apple extending the warranty on the keyboard, it is entirely impractical for me to continue sending my primary work machine away for 5-7 days for repairs.
For my hardcore coding work I almost never use the laptop screen alone though. Either the laptop is plugged into an external or I am using my desktop rig with 3 monitors.
We have a bunch of both machines, and the XPS is much thicker, not quite as deep, the fit/finish aren't even comparable, and the XPS has a plastic 'ring' around the unit that's easily chipped/scratch and they look beat up rather quickly