I have a 2015 XPS 13 Developer Edition (9343) that I still use and love. Also have a 4K XPS 15 (9560) that is dual booting Ubuntu 18.04 and Win10... 18.04 has some quirks during install - and an issue with shutdown out of the box, but https://github.com/stockmind/dell-xps-9560-ubuntu-respin resolved all of that. In my opinion - you can't go wrong with an XPS. The new 13 looks pretty sweet too.
I had a really good experience with the XPS 15, and a colleague of mine was really happy with the 13 model. They seem to work perfectly fine with the latest ubuntu and fedora and they had a decent battery life
The Precision 5520 is exactly what a Developer Edition XPS 15 would be, and you can get it with Linux preloaded. I did, and I'm very satisfied with it.