Sooner or later you will run into a situation where your iPad is almost out of charge and you cannot find your charger. Yes you can certainly connect it to your Mac or PC. But there is another thing you can do. You can connect it to your iPhone charger! 95% of iPad owners also own an iPhone so you certainly would have one lying around.
You can also charge your iPhone with the iPad charger if you need to. It will not harm the phone with extra current or anything. I do both all the time. Even Apple Support says you can do that. See this article at Apple Support. It says “The iPad USB Power Adapter is a 10W charger. While designed for use with the iPad, you can use the iPad 10W USB Power Adapter to charge all iPhone and iPod models by connecting them using a Dock Connector to USB cable.”
In practice they are interchangeable. The only disadvantage, if you look at it that way, is that it will take longer for the iPhone charger to charge the iPad than it will for the iPad charger to charge it. But for an overnight charging situation this is not an issue at all. It completely charges the iPad in a handful of hours.