Alternatively, every Mac comes with Garageband and is built from the ground up for reliable recording - if you buy a system and you hear glitching in recordings (which I've never heard of), you can take it to the Apple store and have a technician troubleshoot the problem.
I don't think most PCs face this problem (although prevalent hardware like HDMI ports is often problematic for smooth audio recording), but musicians tend to recommend Macs because the certainty that it will work out of the box has a lot of value.