No weapon has ever been rendered totally ineffective on the battlefield, they just get replaced by something (hopefully) more effective. Rocks are still effective on the modern battlefield.