Electricians look at tape wrapped around switches, receptacles, and wire nuts as an amateur tell. I agree it's a bad idea around a wire nut, but I am in the minority that feel it's a good idea around device screws.
If someone ever wants to remove the device from an energized box - which there's very, very seldom a good reason to do - who ever takes it out hot will think highly of who ever wrapped that device. You don't have to play a high stakes game of "Operation" with a 277 volt switch.
But there's a much better reason. When you fold up the wires to close up the box, if you're careful, you can keep the bare grounds from touching the terminals and everything will be fine. Except when one of those bare wires doesn't cooperate, and wiggles its way into contact with one of the terminals. It shouldn't happen, but it happens all the time.
If it winds up making contact with the hot terminal, the short will immediately trip the breaker, you'll fix the problem, and life goes on with just a little wasted time and effort.
If it winds up touching a neutral terminal, you could wind up closing up and leaving a ground fault. A GFCI will catch it, but you may have a headache finding it if you did other work at the same time.
If it's just a hair's breadth away from the terminal, it may not create the fault until the switch is switched a few times or cords are plugged a few times, wiggling the device just enough to touch the bare wire. Sometimes it will even create an intermittent problem with an AFCI or GFCI protected circuit and that can waste a TON Of time. When you drive back repeatedly to chase your tail on this problem, whether you're doing it for free under warranty, or doing it for an irate customer paying for you to run in circles, you can hold your head high, you're a pro and you don't wrap your devices.
So I go against the grain on this, I think it's OK to wrap your devices with tape. As mentioned in another answer, don't use junk tape. The only ones I have seen with the necessary stretchy-ness is 3M brand 33 or 88. Apply a little tension when you wrap and these will form nicely around the bumps and etc.
The only problem with tape, besides the disdain of misguided professionals, is the mess the residue makes. Ideal Industries has a new product that solves this, Armourband:

It's a broad flat elastic band that stretches around the device to protect the terminals. So if tape residue is an issue for you, there is an alternative.