1, by describing the differences between the two sides in science and technology, create an illusion that "it's not that our army doesn't work hard, but how high the enemy is", so as to publicize the brave soldiers of the Qing army and better mobilize the emotions of the audience.
2, broadsword and spear can't beat musket. On the one hand, it can publicize the idea that "you will be beaten if you fall behind", on the other hand, it can show the cruelty of western invaders, kill two birds with one stone and the standard social Darwinism propaganda method.
In fact, if you think about it carefully, which country does not have this routine of fighting the weak? In "The Last Samurai", the shogunate army also held long knives against the infantry line. In fact, in real history, the opening of the shogunate army was earlier and more thorough than that of the anti-screen army (the shogunate army needed to suppress the uprising through westernization, and the slogan of the anti-screen army was "resisting foreign aggression"), but it was still portrayed as a backward image. Nothing else, because this setting is funny, close to the idea of "the shogunate is backward and the government forces are civilized"
In recent years, China's films and TV plays actually reflect and improve the significance of the knife and gun theory. Firearms appeared in the background of Ming and Qing Dynasties, including Royal Guards, embroidered spring knives, guillotines, warlords and so on. However, due to the lack of sufficient research on the effect, some props are neither fish nor fowl. Taiji is one of them that has been severely criticized. Steampunk is superior to modern arms, and modern arms want to slaughter traditional martial arts. Such prop configuration will only add to the joke. In contrast, "Daming Robbery" is a relatively perfect one, and it is well restored in the war fragments that are not the focus at all.