Well, the 20mm is a much larger shell and was much more prevalent on submarines in an AA capacity. 50 cal was anti-personnel stuff. Very effective anti-personnel stuff!
Of course, the gotcha is that the modder can make the 20mm a better weapon against a carrier than the unmodified 5" deck gun if he wants (and I did

)