Stupidity kills. Rarely would a real-war skipper consider antics that are frequently shown on forum as great achievements.
Going against DDs etc. with no room to manouver would been something no Type II (or other sub, but especially Type II) commander would consider unless really desperate.
Like Erwin Rommel said: " Difference between risk and gamble is that when you take a risk, you can recover from loss."