There are loads of other laptops with a higher pixel density than the macbooks. The real advantage they have is OSXs superior hidpi support.
Unless you're talking about the color reproduction which I can't really comment on. Not really important for devs though.