CDs for me. If you buy a big disc binder they really don’t take up that much room. Its about the same size as the 1971 compact OED that sits on the same shelf.
If I really wanted to get rid of them I’d just donate them to the local library system. The ones they don’t want they’d resell as a fundraiser.
The problem is that too many combination bargain-basement engineer/self-proclaimed geniuses, too dumb to realize they aren’t ever actually the smartest person in the room, still do.