The difference between a framework and a library is that a framework controls how other code is written, while a library is designed to be composed with any other kind of code. Explains why developers love writing frameworks, even though users basically always want libraries.

Apr 26, 2022 · 4:16 PM UTC

9
41
3
376
Replying to @gdb
True, but as a developer the things I learned from using frameworks helped me develop better libraries.
1
Replying to @gdb
Because developers don’t know what libraries we want
Replying to @gdb
Seems like a monetary decision imo.
Replying to @gdb
Useful frameworks provide new means of composition, e.g. Relay for data dependencies.
1
Replying to @gdb
Frameworks tend to facilitate copy paste while coding.
1
Replying to @gdb
Because with frameworks you can sell license and support!
1
Replying to @gdb
So true. But also I think so many developers crave opinionated frameworks that helps make decision making easy.
1