Using arrows like a mortar is me the most devastating uses. The bowman can be behind cover while raining curtains of death from above. I'm surprised that organized armies didn't use both for a time period. The bow for long distance, >100yds, and the firearm for charges.
Of course even into WW I some military leaders thought the rifle was just a fancy pike.