It's a handy thing to know how to do. Sometimes it's easier to plug a flat tire instead of swapping in the spare tire.
If you ride a motorcycle it's pretty much a mandatory skill because there's no spare tire!
People worry about a plugged tire being unsafe but I've ridden motorcycle tires with plugs down to the cords.