Lenovo are also way better at warranty. In my experience they just asked for the serial number of the ThinkPad, it was still covered and they accepted it (and fixed it). It was an used laptop.
Dell OTOH asked for the original receipt of purchase, that of course I didn't have because that also was an used laptop.
Also, the latitude series is way better than the xps line. I've got the latitude 7390 from dell and it's just marvelous.
So yeah, if you're buying new, dell or Lenovo ThinkPad (I'd recommend a ThinkPad though).
If you're buying second hand, ThinkPad is the way.
Exactly my thoughts too. I love the look and build of the Dell's but the Lenovos, while ugly, are so tough and so easy and cheap to repair. I buy all ThinkPads these days (most recently the T580 and T490, both of which are amazing and run Fedora like a dream, out of the box).