USB 4 will recommend a standard set features that all devices of the same type should implement. This should simplify things somewhat over USB 3, where device and even cable compatibility isn't guaranteed.
https://www.theverge.com/2019/3/4/18246182/usb-4-thunderbolt-3-specs-features-release-date
USB is feeling a little less universal though.
Related Posts
I travelled recently with six electronic devices, and every single one used USB-C for charging. It was wonderful, and not an experience I've had before.
Installed Linux on a new laptop yesterday, and needed to find a USB stick in a dusty drawer.
The stick previously had Arch Linux Installer 2021 on it! I can't think of any other uses for the device these days.
Really cute approach to reporting type errors: when there's a type error, show an example of a runtime error that the type check has prevented!
Data-Driven Techniques for Type Error Diagnosis https://escholarship.org/uc/item/59s4h4pv