As with all destroyers built in the 1930's, larger calibre guns did not guarantee any positive results in action.
Unlike their larger cruiser brethren, the effort in manpower involved simply getting the shell from shell room / magazine to the breach was strenuous, even with fit men in a well drilled gun crew, who only manned the gun. It fell to other branches of the ships company to maintain a ready supply to the gun crew.
In adverse weather, at night, having enemy return fire and the general uncertainty of who is friend or foe, action damage and casualties, the rate of fire will rapidly decline, only aggravated with open mounts, which the majority of destroyers had from this era. All destroyers were lively, especially when driven hard, by, admittedly, hard men.
We must not forget the raison d'etre for the fleet destroyer, it revolved more around her torpedoes, an active attack weapon, for use in fleet actions. Germany had no fleet, per se.
Narvik 1940. Say no more and by mid 1942 the German Zerstorer was history.
A full broadside. The traditional English salute.