Difference between revisions of "Libraries and frameworks (computing)"
Karl Jones (Talk | contribs) (Created page with "In computer science, the terms library and framework (computing) have similar and overlapping meaning. == Description == Both refer to Comp...") |
(No difference)
|
Revision as of 02:59, 5 April 2016
In computer science, the terms library and framework (computing) have similar and overlapping meaning.
Description
Both refer to computer programs intended to be used by other computer programs.
Libraries and frameworks "invent the wheel", so to speak. You can then use these "wheels" in your own programs. You do not need to "re-invent the wheel".
Library versus framework
There is no formal, technical distinction between a library and a framework (computing).
In general:
- Library is the smaller concept
- Framework is the larger concept
Different sub-fields within computer science may use the terms in somewhat different ways, although the general principle tends to be the same.
Discussion
Adrian Mejia:
Using a library YOU are in control, but using a framework there is an inversion of control: the framework calls you.
Libraries give you a lot of flexibility, while frameworks has opinionated ways of doing things but can save you writing boiler plate code.