don't forget he is/was classified as idiot pirate and it is given to receive basic or advance combat training in military academies regardless of occupation.
Regardless it's still strange for that "boy" to try that stunt as he saw his comrades being killed by him despite the disadvantage.