Yes. All else being equal, reach and leverage win every time. Even the samurai considered their swords to be secondary to spears and bows, and preferred to fight on horseback rather than in the trenches (because they weren't stupid,) and then picked up guns as soon as they were viable.