Most circuits in modern laptops should be able to handle both situations.
However, looking at the situation, plugging into the laptop first and then plugging into the wall is no different than plugging any piece of eqt. in that doesn't have an adapter. The brick/adapter will handle the contact/make/break as the plug slides in.
In a poorly design system if you connect the adaptor after the fact, there will be contact make/break and the DC supply will bounce around. This causes false starts and resets.
But like I started out with, this shouldn't be an issue with modern designs because they are designed to handle it. Years ago it would have been an issue, perhaps that is why people still think it's important.
1don't think its a problem doing it either way – Megan – 2012-04-30T16:14:10.580
7It makes no difference. The AC/DC transformation is a one-way deal, so it literally doesn't matter (both circuits are electrically isolated from eachother - or at least they should be!). So long as it's an OEM adapter (i.e. certified to various legal requirements, including ISOLATING the secondary side from the primary), it makes no difference. Be careful using cheap, uncertified/fake 3rd-party adapters, although the risks posed by those chargers apply regardless of which order you plug them in. – Breakthrough – 2012-04-30T16:24:39.870