Literally how it worked was that you used guns (or bows) to shoot at the opposing army and pikes to ward off cavalry and opposing pikes. As guns got better, it became more important to have more of those in a fight than to have pikemen. But you still needed something for a melee or to set against a cavalry charge. To solve this, bayonets were added so that you could have musketmen mount a reasonable defense against those without having to have a lot of pikemen to protect them.
As the rate of fire went up and battle tactics changed, eventually pikes became obsolete in their totality. A line of bayonets was enough to keep off anything except for the most determined foes (see Battle of Isandlwana and subsequent Rorke's Drift for both success and failure of such tactics). Guns and tactics still improved though and both machine guns and more exotic close ranged weapons saw the end of the traditional bayonet range of combat. Instead, ranges where formerly you would use a bayonet became ranges to fire your weapon or to close past your opponent's weapon so they cannot fire as you. Subsequently while bayonets have fallen out of favor in current doctrine knives, sidearms, and trenching tools are still common weapons precisely because they can be used in closer quarters than can the bayonet.
View all comments
Show parent comment
10
u/CountVorkosigan Xeno Jul 11 '15
Literally how it worked was that you used guns (or bows) to shoot at the opposing army and pikes to ward off cavalry and opposing pikes. As guns got better, it became more important to have more of those in a fight than to have pikemen. But you still needed something for a melee or to set against a cavalry charge. To solve this, bayonets were added so that you could have musketmen mount a reasonable defense against those without having to have a lot of pikemen to protect them.
As the rate of fire went up and battle tactics changed, eventually pikes became obsolete in their totality. A line of bayonets was enough to keep off anything except for the most determined foes (see Battle of Isandlwana and subsequent Rorke's Drift for both success and failure of such tactics). Guns and tactics still improved though and both machine guns and more exotic close ranged weapons saw the end of the traditional bayonet range of combat. Instead, ranges where formerly you would use a bayonet became ranges to fire your weapon or to close past your opponent's weapon so they cannot fire as you. Subsequently while bayonets have fallen out of favor in current doctrine knives, sidearms, and trenching tools are still common weapons precisely because they can be used in closer quarters than can the bayonet.