I dont think the OP was pointing to OOP when talking about classes. You can have classes without a meaningful class hierarchy that still conforms to the OP's desired programming style using protocols like the iterator protocol.
A better way to phrase the OP's salient point while sidestepping the polemic of OOP is "Standardize and use protocols".
A better way to phrase the OP's salient point while sidestepping the polemic of OOP is "Standardize and use protocols".