You forgot to mention the wheel. :)
My point is that, while you could use a 500-year-old gun in combat today (an arquebus, for example) which may still do the job it was intended for, why would you?
Look at one modern firearm example, the Kriss Vector. Yes, the technology in use is similar...