Which IP rating is best for swimming with your devices?

We’re all a little spoiled by how durable electronics are getting. As recently as a decade ago, it was reasonable to assume that most electronics shouldn’t go anywhere near water unless they were explicitly marketed around it, like a GoPro in an underwater case. More recently, however, dust and water resistance has increasingly become the standard, to the point that even folding phones with hinges are expected to have it.