The problems starts when you get fired at with supersonic anti-ship missiles fired by other ships you can't target.
And who said WWII shells were subsonic? Just look at the speed of the 16"/50 caliber Mark 7 gun shells.
Actually the heavy guns and battle ships were made useless by planes fist and missiles later. In a gun-only fight.... also, rate of fire is nice, but depends on how many rounds you carry, and how much damage they do.