My old Lenovo yoga cost more than the p50 and couldn’t hold a candle
Came with 32gb memory, 4k display, discrete gpu and an nvme which all help considerably, the CPU generally sits around 1-8% during normal usage (on Linux that is)
Can quite happily code on this thing, my previous laptop could barely run an ide
Obviously there are more powerful laptops but considering I got it for ~£500 and even second hand modern laptops go for ~1000 with less memory and no GPU I think it competes very nicely