In the Disney+ series, Star Wars: Skeleton Crew the kids (and others) are constantly regaled by their companion droid SM-33 about the “pirate code.”
I assume this is the classic, “honor among thieves” trope, but does anyone know if the pirate code in Star Wars: Skeleton Crew differs significantly from the pirate code in the real world: “[…] code of conduct for governing ships of pirates, notably between the 17th and 18th centuries, during the so-called ‘Golden Age of Piracy.’”
Looking for an in universe explanation; canon or Legends references welcome.