Using 7 pins on the 74HC595

Hi, If I only need 6 pins from my 74HC595, do I need to connect the unused pins to ground?

Thanks

I wouldn't do it, there's no problem by leaving them unconnected.

If you never... turn the unused pins high, it should in theory be possible to connect 'm to ground, but one accidental mistake in programming could easily cause a short circuit, ruin the chip and perhaps other components.

Those pins are outputs you NEVER connect outputs to ground or 5V