>>64352164
Much, much longer than two centuries, actually: the core concept of
>advance until your ranged weapons can reach the enemy
>dump your ranged weapons into the enemy formation
>charge in before they can recover cohesion
goes back to antiquity, not being any fundamentally different from Roman legionary tactics (though obviously with very different weapons, using muskets and bayonets instead of javelins and swords).
It remained very effective, and only ceased to be viable around the latter half of the 19th century, as longer ranged and faster firing guns made the "charge in" part increasingly less feasible.