Pirates jump out and let you know they are there, ninjas dont, in a modern situation:
A ninja would cut your window glass, come in, and toss ninjas stars and kill you.
A pirate would knock on your door, break it down before you answer, find no one in the room as the residents call 911, cops come and kill the pirates with their guns.