I've had an XPS 13 and XPS 15 and both suffered from coil whine, bad graphics and overheating. I would steer clear if I was you.
My current dev laptop is a Razor which has been a much better experience than the XPS.
I have the 2020 XPS 13, no coil whine. I'm hearing that no one is getting coil whine in this year's model. It's my first XPS, and it's amazing, I highly recommend it.