When you charge your MacBook, does it matter which thing you plug in first? Should you connect the power cord to your notebook and then plug the power cord into the socket, or should you plug in the socket and then the notebook?

Are there any recommendations from Apple?



Update: I have seen both recommendations. Most of the advice says to plug in the notebook first. Maybe it doesn't matter at all?
Apple recommends to plug the adapter into the wall before connecting it to the computer.
For more information, refer to the Apple Support article, Using and maintaining your Apple MagSafe Adapter.

Connecting the MagSafe Power Adapter to power
Make sure that the AC plug or AC power cord is fully inserted into the power adapter before plugging the adapter into a power outlet. And be sure to plug your adapter into the wall before connecting it to your computer.