Yes, machines with Linux preinstalled normally work quite well. But it's still a downside of choosing Linux that the choice of laptops is so much smaller. Similar to the downside of Mac OS that you are locked in to pricey-but-well-built laptops, or the downside of Windows that "it runs Windows" doesn't mean the hardware is not bottom-of-the-barrel crap with a vendor who doesn't care about Linux compatibility. WSL allows to run a sane development environment even then :)