Like many in this thread, I like to wash shirts with designs/print on them inside-out to wear out the design more slowly.
For pants, in addition to not wanting rivets/buttons to catch on other clothes, I turn pants inside-out for washing–but I made it a personal rule that I only turn pants inside-out once I have checked and emptied the pockets. So if I’m putting things in the washer and find any right-side out pants, I know to check the pockets (and turn them inside-out) before sending them on their laundry journey. As a result, I don’t remember the last time I accidentally washed something in a pocket. 😊