Modularity - I'd like to understand the term better
I just watched this video: https://youtu.be/QyJZzq0v7Z4 The guy tries to sort out how OOP became the boss of paradigms and not functional programming. He seems to claim that, when OOP languages were adopted, programmers secretly wanted modules/modularity and more or less clumsily ended up with classes and objects instead. He names Go as a language having no classes, but modules (and no inheritance since even OOP fans don't trust it much) and sort of describes that as the quintessence of modularity. I get the feeling he has a very specific understanding of the word. In my mind, modularity is just an abstract term that could describe many things: Modules, classes, objects, but also functions, since they isolate a specific task, hide the implementation details and provide a clean interface - args plus return value. Anyone got an idea what exactly he's talking about?