3 ms·
>Frameworks are just a set of libraries that play nice. Many times when people talk about the difference between frameworks and libraries, they are talking abo
by learc83 11y ago
>Frameworks are just a set of libraries that play nice.
Many times when people talk about the difference between frameworks and libraries, they are talking about which code is driving the program. I think this is the case here.
An overly simplified example of the difference is that, with a library, your code calls the library. With a framework, the framework calls your code.
- Animats 11y agoYes. Thus, in one program, you can use multiple libraries, but not multiple frameworks.
- AstralStorm 11y agoSometimes you can and it is not even too hard to make them interoperate. This begs the question why would you want to though.
- leohutson 11y agoNot quite sure I understand the calling distinction? I guess the article is more about web frameworks, which I have no knowledge of. I had desktop applications in mind, in particular GUI centric frameworks like Qt, which aside from moc is mostly just a very extensive set of libraries that build functionality on top of each other.