DEV Community

Discussion on: What's the difference between a library and a framework?

Collapse
 
pabrams profile image
Paul Abrams • Edited

It's right there in plain English, already. When you use a framework, you are constrained to work within the frame. When you use a library, you are free to choose whatever books you want, and use them how you want.
That might sound like libraries are preferable to frameworks, but the constraints imposed by a framework can be beneficial whereas a library full of books can easily lead to analysis paralysis.